Void Linux con i3wm pywal, uso Terminator come terminale e zsh come shell, lascio il .zshrc qua, è fatto da me (un po rubato a quello di kali) non è niente di chè:
Codice:
#! /bin/zsh
# change directory just by typing its name
setopt autocd
# enable completion features
autoload -Uz compinit
compinit -d ~/.cache/zcompdump
zstyle ':completion:*:*:*:*:*' menu select
zstyle ':completion:*' auto-description 'specify: %d'
zstyle ':completion:*' completer _expand _complete
zstyle ':completion:*' format 'Completing %d'
zstyle ':completion:*' group-name ''
zstyle ':completion:*' list-colors ''
zstyle ':completion:*' list-prompt %SAt %p: Hit TAB for more, or the character to insert%s
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}'
zstyle ':completion:*' rehash true
zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s
zstyle ':completion:*' use-compctl false
zstyle ':completion:*' verbose true
zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd'
# Enable history
export HISTFILE=~/.zsh_history
export HISTFILE=~/.zsh_history
export HISTFILESIZE=100000
# Alias
alias ls="ls --color=auto"
alias ll="ls -l"
alias la="ls -a"
alias grep="grep --color=auto"
# Prompt
if [[ $UID != 0 ]]; then
PS1="[%F{blue}%n@%m %F{white}%1~]$ "
else
PS1='[%F{red}%n@%m %F{white}%1~]# '
fi
# Enable pywal color configuration
cat ~/.cache/wal/sequences
Ultima modifica: