1
0
Fork 0

add default-path function

This commit is contained in:
Maurice Audin 2018-08-22 12:59:44 +02:00
parent 6c1ff1b832
commit 43644e6e80

View file

@ -17,6 +17,7 @@ loop() {while [ 1 ]; do sh -c "$@"; done}
open_ports() {sudo netstat -tulpen 2> /dev/null | grep "LISTEN"}
r() {if [ $# -eq 1 ]; then ssh root@$1; else sudo su -; fi}
dontknow() {echo -n "¯\\_(ツ)_/¯" | xclip}
default-path() {echo "default_path = '$PWD'" | awesome-client}
# Usefull bindings
bindkey "^[Od" backward-word