mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-04-01 17:07:45 +02:00
adding autocd to zsh
This commit is contained in:
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…
x
Reference in New Issue
Block a user