Compare commits
No commits in common. "21144360137cd135d2ae952b5982092af3ff2282" and "baf106d5c92f420a2c67dc43114b8b40e5359968" have entirely different histories.
2114436013
...
baf106d5c9
28
zshrc
28
zshrc
@ -119,34 +119,6 @@ if (( $+commands[zellij] )); then
|
|||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# exa
|
|
||||||
if (( $+commands[exa] )); then
|
|
||||||
# exa explorer
|
|
||||||
exex() {
|
|
||||||
local depth=1
|
|
||||||
local exa_opts=("--color=always" "--git" "--icons" "-F" "-T")
|
|
||||||
|
|
||||||
while true; do
|
|
||||||
clear
|
|
||||||
exa $exa_opts -L$depth $@
|
|
||||||
read -sk key
|
|
||||||
|
|
||||||
case $key in
|
|
||||||
h)
|
|
||||||
(( depth-- ))
|
|
||||||
[[ $depth -lt 1 ]] && local depth=1
|
|
||||||
;;
|
|
||||||
l)
|
|
||||||
(( depth++ ))
|
|
||||||
;;
|
|
||||||
q)
|
|
||||||
break
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
}
|
|
||||||
fi
|
|
||||||
|
|
||||||
# git
|
# git
|
||||||
if (( $+commands[git] )); then
|
if (( $+commands[git] )); then
|
||||||
git_chpwd_hook() {
|
git_chpwd_hook() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user