zsh: formatting and allow code placed after the final line to execute
This commit is contained in:
parent
c8c6dec89f
commit
bd2e6c2e40
1 changed files with 5 additions and 5 deletions
10
.zshrc
10
.zshrc
|
@ -772,16 +772,16 @@ save_working_dir() {
|
|||
autoload -U add-zsh-hook
|
||||
add-zsh-hook chpwd save_working_dir
|
||||
|
||||
load_working_dir &&
|
||||
cd - > /dev/null
|
||||
load_working_dir && cd - > /dev/null
|
||||
|
||||
# Case insensitive globbing (fix for termux)
|
||||
[ -n "$TERMUX_VERSION" ] && setopt nocaseglob
|
||||
|
||||
[ -n "$TERMUX_VERSION" ] &&
|
||||
setopt nocaseglob # Case insensitive globbing (fix for termux)
|
||||
# <<<
|
||||
# <<<
|
||||
|
||||
# Optionally source the user's customized .zshrc
|
||||
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/zshrc.local" ] && source "${XDG_CONFIG_HOME:-$HOME/.config}/shell/zshrc.local" || return 0
|
||||
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/zshrc.local" ] && source "${XDG_CONFIG_HOME:-$HOME/.config}/shell/zshrc.local" || true
|
||||
|
||||
# vim:fdm=marker:fmr=>>>,<<<:et:ft=sh:sw=3
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue