X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=zsh%2Frc;h=b4405066ec47509af2618e7f7c24d4ab022d0478;hb=75b2064f7dbc878a2504458e6407f3bfe7429c04;hp=b16a5ca5918138e40de74fc8a46d77b7d4aa7691;hpb=044ed79a3c32ea656b80a3dc933400e585e23d67;p=config%2Fdotfiles.git diff --git a/zsh/rc b/zsh/rc index b16a5ca..b440506 100644 --- a/zsh/rc +++ b/zsh/rc @@ -21,7 +21,8 @@ setopt histignoredups bindkey "^P" history-beginning-search-backward bindkey "^N" history-beginning-search-forward -# Prevent overwriting existing files with '> filename'. +# Prevent overwriting existing files with '> filename', use '>| filename' +# (or >!) instead. setopt noclobber # Entering the name of a directory (if it's not a command) will automatically @@ -123,4 +124,4 @@ function ll() { # Load rc file for current hostname (first part before a dot) or rc.local. -source_config ~/.zsh "" rc ${$(hostname)//.*/} +source_config ~/.zsh host rc ${$(hostname)//.*/}