mirror of
https://github.com/roles-ansible/ansible_role_dotfiles.git
synced 2024-08-16 16:09:49 +02:00
Update possible aliases
This commit is contained in:
parent
fffd738a7d
commit
b355dd2ea8
3 changed files with 11 additions and 1 deletions
|
@ -21,3 +21,6 @@ ranger_hidden_files: true
|
||||||
accounts:
|
accounts:
|
||||||
- "{{ ansible_user_id }}"
|
- "{{ ansible_user_id }}"
|
||||||
|
|
||||||
|
# some additional aliases
|
||||||
|
it_pull_alias: false
|
||||||
|
git_typo_alias: true
|
||||||
|
|
|
@ -121,6 +121,13 @@ alias la='ls -A'
|
||||||
alias l='ls -CF'
|
alias l='ls -CF'
|
||||||
{% endraw %}
|
{% endraw %}
|
||||||
|
|
||||||
|
{% if git_typo_alias | bool -%}
|
||||||
|
alias got='git'
|
||||||
|
{% endif %}
|
||||||
|
{% if git_pull_alias | bool -%}
|
||||||
|
alias gitsubpull='git submodule foreach "(git checkout master; git pull)&"'
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if bash['pwgen'] %}alias pwgen="/usr/bin/pwgen --num-passwords=3000 --numerals --capitalize --secure --no-vowels --symbols 42 | grep -v '0' | grep -v 'o' | grep -v 'O' | grep -v '\"' | grep -v 'I' | grep -v 'l' | grep -v '1' | grep -v '´' | grep -v '@' | tail -1 "{% endif %}
|
{% if bash['pwgen'] %}alias pwgen="/usr/bin/pwgen --num-passwords=3000 --numerals --capitalize --secure --no-vowels --symbols 42 | grep -v '0' | grep -v 'o' | grep -v 'O' | grep -v '\"' | grep -v 'I' | grep -v 'l' | grep -v '1' | grep -v '´' | grep -v '@' | tail -1 "{% endif %}
|
||||||
|
|
||||||
# vim:ts=4:sw=4
|
# vim:ts=4:sw=4
|
||||||
|
|
|
@ -8,5 +8,5 @@ bash:
|
||||||
shell: "/bin/bash"
|
shell: "/bin/bash"
|
||||||
keyboard: '$(if [[ $(id -u) -ne 0 ]];then echo "\[\033[01;33m\]"; else echo "\[\033[01;31m\]"; fi) $(if [[ $? == 0 ]]; then printf "\xE2\x9D\xA4"; fi) \[\033[01;32m\]\u\[\033[01;36m\]@\[\033[01;32m\]\H\[\033[01;34m\] <\A> \[\033[01;35m\] \j \[\033[01;36m\] \w \[\033[01;33m\]\n\[\033[01;33m\] $(git branch 2>/dev/null | sed -n "s/* \(.*\)/\1 /p")$\[\033[01;00m\] '
|
keyboard: '$(if [[ $(id -u) -ne 0 ]];then echo "\[\033[01;33m\]"; else echo "\[\033[01;31m\]"; fi) $(if [[ $? == 0 ]]; then printf "\xE2\x9D\xA4"; fi) \[\033[01;32m\]\u\[\033[01;36m\]@\[\033[01;32m\]\H\[\033[01;34m\] <\A> \[\033[01;35m\] \j \[\033[01;36m\] \w \[\033[01;33m\]\n\[\033[01;33m\] $(git branch 2>/dev/null | sed -n "s/* \(.*\)/\1 /p")$\[\033[01;00m\] '
|
||||||
|
|
||||||
playbook_version_number: 112 # integer without dots
|
playbook_version_number: 113 # integer without dots
|
||||||
playbook_version_path: '/etc/ansible-version/role_dotfiles_chaos-bodensee_github.version'
|
playbook_version_path: '/etc/ansible-version/role_dotfiles_chaos-bodensee_github.version'
|
||||||
|
|
Loading…
Reference in a new issue