1
0
Fork 0
This commit is contained in:
Maurice Audin 2019-03-07 14:54:36 +01:00
parent 7a3aae6d09
commit 80d635d2cf

View file

@ -24,8 +24,8 @@ r() {if [ $# -eq 1 ]; then ssh root@$1; else sudo su -; fi}
dontknow() {echo -n "¯\\_(ツ)_/¯" | xclip}
def() {echo "default_path = '$PWD'" | awesome-client}
dchroot() {docker run --rm --privileged -ti $@ debian:stretch /bin/bash}
local-history() {mkdir -p /home/hybris/.directory_history/$PWD; HISTFILE=/home/hybris/.directory_history/$PWD/history}
global-history() {HISTFILE=/home/hybris/.zsh_history}
local-history() {mkdir -p /home/hybris/.directory_history/$PWD; HISTFILE=/home/hybris/.directory_history/$PWD/history; return 0}
global-history() {HISTFILE=/home/hybris/.zsh_history; return 0}
# Usefull bindings
bindkey "^[Od" backward-word