adding autocd to zsh

master
tiynger 5 years ago
parent 5b84ec66be
commit 0be7fdd88e

@ -2,6 +2,8 @@
# Disable ctrl-s and ctrl-q. # Disable ctrl-s and ctrl-q.
stty -ixon stty -ixon
setopt autocd autopushd \
# Enable colors and change prompt # Enable colors and change prompt
autoload -U colors && colors autoload -U colors && colors
PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[magenta]%}%~%{$fg[red]%}]%{$reset_color%}$%b " PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[magenta]%}%~%{$fg[red]%}]%{$reset_color%}$%b "

Loading…
Cancel
Save