34 lines
709 B
Bash
34 lines
709 B
Bash
# Lines configured by zsh-newuser-install
|
|
HISTFILE=~/.histfile
|
|
HISTSIZE=1000
|
|
SAVEHIST=1000
|
|
setopt autocd
|
|
bindkey -v
|
|
# End of lines configured by zsh-newuser-install
|
|
# The following lines were added by compinstall
|
|
zstyle :compinstall filename '/home/svante/.zshrc'
|
|
|
|
autoload -Uz compinit
|
|
compinit
|
|
# End of lines added by compinstall
|
|
|
|
export TERM="xterm"
|
|
|
|
# Shorthands
|
|
alias l='ls -l'
|
|
alias la='ls -a'
|
|
alias ll='ls -la'
|
|
alias v='vim'
|
|
alias c='clear'
|
|
alias e='exit'
|
|
|
|
# Defaults
|
|
alias vim='nvim'
|
|
alias nix-shell='nix-shell --run zsh'
|
|
|
|
autoload -U colors && colors
|
|
PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[magenta]%}%~%{$fg[red]%}]%{$reset_color%}$%b "
|
|
|
|
eval "$(direnv hook zsh)"
|
|
|