From 80d635d2cf46435befb1c785850e8338d6ebc771 Mon Sep 17 00:00:00 2001 From: maudin Date: Thu, 7 Mar 2019 14:54:36 +0100 Subject: [PATCH] fix typo --- hybris.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hybris.zsh b/hybris.zsh index ad6077e..374e55d 100644 --- a/hybris.zsh +++ b/hybris.zsh @@ -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