dfs err_return

This commit is contained in:
xiongdian.me 2022-11-29 20:10:29 +08:00
parent e8ba19184e
commit fff6e08b72

View File

@ -151,6 +151,7 @@ bindkey "\ed" delete-char # alt+d
# dfs
dfs()
{
setopt local_options err_return pipe_fail
case $1 in
cd ) cd "$DOTFILES" ;;
update ) "$DOTFILES/update.sh" ;;