add 3 aliases: mn-ansible, lg and lsld
mn-ansible: change to standard ansible workdir, activate the virtualenv and list all ansible-* folders lg: start lazygit lsld: list all directories in a folder
This commit is contained in:
parent
9a3b39bbc9
commit
75876a1bd2
|
|
@ -46,6 +46,8 @@ cdla(){
|
||||||
cd "$(\ls -1dt ./*/ | head -n 1)"
|
cd "$(\ls -1dt ./*/ | head -n 1)"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
alias mn-ansible='source /home/jscharre/workdir/ansible-2.10-py39/bin/activate && cd /home/jscharre/workdir/ansible-2.10-py39/ && ls -ld ans*'
|
||||||
|
|
||||||
# making git-life easier
|
# making git-life easier
|
||||||
gitc(){
|
gitc(){
|
||||||
git commit -a -m "$1"
|
git commit -a -m "$1"
|
||||||
|
|
@ -58,6 +60,7 @@ alias gitchd='git checkout develop' #directly switch to develop branch (ManageNo
|
||||||
# misc
|
# misc
|
||||||
alias px="ps auxf"
|
alias px="ps auxf"
|
||||||
alias o="xdg-open"
|
alias o="xdg-open"
|
||||||
|
alias lg='lazygit'
|
||||||
|
|
||||||
# pretty print json
|
# pretty print json
|
||||||
alias ppjson='python -c "import sys, json; print json.dumps(json.load(sys.stdin), sort_keys=True, indent=4)"'
|
alias ppjson='python -c "import sys, json; print json.dumps(json.load(sys.stdin), sort_keys=True, indent=4)"'
|
||||||
|
|
@ -83,6 +86,7 @@ alias pign=ping
|
||||||
# other stuff
|
# other stuff
|
||||||
alias eierabend='xflock4 ; systemctl suspend --no-wall'
|
alias eierabend='xflock4 ; systemctl suspend --no-wall'
|
||||||
alias updgrade='sudo aptitude update && sudo aptitude upgrade -y'
|
alias updgrade='sudo aptitude update && sudo aptitude upgrade -y'
|
||||||
|
alias lsld='ls -ld *'
|
||||||
|
|
||||||
# better passwords!
|
# better passwords!
|
||||||
alias apg='apg -M sncl -n 15 -m 10 -x 20'
|
alias apg='apg -M sncl -n 15 -m 10 -x 20'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user