diff --git a/.zshrc2 b/.zshrc2 index 0b957b8..17737fb 100644 --- a/.zshrc2 +++ b/.zshrc2 @@ -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" ;;