Skip to content

Commit

Permalink
I dont want to fix it
Browse files Browse the repository at this point in the history
  • Loading branch information
tdeebswihart committed Apr 13, 2019
1 parent fc8c1b9 commit 134f1b8
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions zsh/1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,3 @@
[ -z "$PS1" ] && return
test -d "$HOME/homebrew/bin" && export PATH="$HOME/homebrew/sbin:$HOME/homebrew/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:$PATH"

#Replaces ... -> ../.. on the fly
function rationalise-dot {
    if [[ $LBUFFER = *..  ]]; then
        LBUFFER+=/..
    else
        LBUFFER+=.
    fi
}
zle -N rationalise-dot
bindkey . rationalise-dot

0 comments on commit 134f1b8

Please sign in to comment.