From 9b557f4d7a3859a1275feca28d44e6722ad3bae2 Mon Sep 17 00:00:00 2001 From: Joty Date: Sat, 28 Apr 2018 11:05:10 +0930 Subject: [PATCH] Append to zsh_history --- quickz.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickz.sh b/quickz.sh index 23712c7..5332903 100755 --- a/quickz.sh +++ b/quickz.sh @@ -88,7 +88,7 @@ if [[ $1 == "--cp-hist" ]]; then echo -e "Copying bash_history to zsh_history\n" if command -v python &>/dev/null; then wget https://gist.githubusercontent.com/muendelezaji/c14722ab66b505a49861b8a74e52b274/raw/49f0fb7f661bdf794742257f58950d209dd6cb62/bash-to-zsh-hist.py - cat ~/.bash_history | python3 bash-to-zsh-hist.py + cat ~/.bash_history | python bash-to-zsh-hist.py >> ~/.zsh_history else echo "Python is not installed, can't copy bash_history to zsh_history\n" fi