added vim and zsh files
This commit is contained in:
parent
36b964da59
commit
cce4bb937f
4 changed files with 62 additions and 0 deletions
33
.zshrc
Executable file
33
.zshrc
Executable file
|
|
@ -0,0 +1,33 @@
|
|||
# Use powerline
|
||||
USE_POWERLINE="true"
|
||||
SAVEHIST=200
|
||||
HISTFILE=~/.zsh_history
|
||||
|
||||
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
|
||||
cbonsai -p --seed $RANDOM -m "Welcome back"
|
||||
sleep 2
|
||||
startx &> /dev/null
|
||||
fi
|
||||
|
||||
if [ -d "$HOME/bin" ] ; then
|
||||
export PATH="$HOME/bin:$PATH"
|
||||
fi
|
||||
|
||||
autoload -Uz compinit
|
||||
compinit
|
||||
|
||||
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||
|
||||
source /usr/share/doc/pkgfile/command-not-found.zsh
|
||||
|
||||
alias ls='exa -lh'
|
||||
alias diff='diff --color=auto'
|
||||
alias grep='grep --color=auto'
|
||||
alias ip='ip -color=auto'
|
||||
|
||||
cheat() {
|
||||
curl -s "cheat.sh/$1" | bat
|
||||
}
|
||||
|
||||
eval "$(LC_ALL="en_US.UTF-8" starship init zsh)"
|
||||
Loading…
Add table
Add a link
Reference in a new issue