commit 2bfc3b753e5b3a89cb6a522e3dbd395752781f08
parent 9861316da970521464b41693d92d0067937561c3
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Wed, 15 Apr 2020 17:27:03 +0200
zsh: clear line when running lfcd
Former-commit-id: 7a8e4b58e93fbc6ac71ad895c65c6c9d68b034dd
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/shell/zshrc b/shell/zshrc
@@ -103,7 +103,7 @@ lfcd () {
[ -d "$dir" ] && [ "$dir" != "$(pwd)" ] && cd "$dir"
fi
}
-bindkey -s '^o' 'lfcd\n'
+bindkey -s '^o' '^ulfcd\n'
_zsh_cli_fg() { fg; }
zle -N _zsh_cli_fg