1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-03-31 00:17:46 +02:00

adding autocd to zsh

This commit is contained in:
tiynger 2019-10-06 14:11:35 +02:00
parent 5b84ec66be
commit 0be7fdd88e

View File

@ -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 "