Browse Source

adding autocd to zsh

master
tiynger 1 year ago
parent
commit
ce1e957d72
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      .config/zsh/.zshrc

+ 2
- 0
.config/zsh/.zshrc

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