dotfiles/.zshrc

32 lines
743 B
Bash
Raw Normal View History

2020-01-03 12:24:46 +01:00
export ZSH="$HOME/.oh-my-zsh"
2019-11-11 04:48:47 +01:00
ZSH_THEME="gnzh"
CASE_SENSITIVE="true"
ENABLE_CORRECTION="true"
COMPLETION_WAITING_DOTS="true"
HIST_STAMPS="dd.mm.yyyy"
2019-11-11 04:48:47 +01:00
plugins=(git)
source $ZSH/oh-my-zsh.sh
export MANPATH="/usr/local/man:$MANPATH"
2019-11-11 04:48:47 +01:00
export LANG=en_US.UTF-8
2019-12-21 14:44:59 +01:00
export LC_CTYPE=en_US.UTF-8
export LC_ALL=en_US.UTF-8
export EDITOR='vim'
bindkey "^[^[[D" backward-word
bindkey "^[^[[C" forward-word
2019-12-17 23:59:35 +01:00
setopt auto_cd
2020-02-16 13:27:19 +01:00
alias l="ls"
alias lr="ls -ltr"
alias ll="ls -las"
2020-01-03 12:23:17 +01:00
setopt PROMPT_SUBST
export PROMPT='$(cdbm -add)'$PROMPT
function c() { dir=$(cdbm 3>&1 1>&2 2>&3); cd $dir; }
2020-01-04 16:53:21 +01:00
function pb() { echo "$1" | nc pastebin.24unix.net 9999 }
2020-02-16 13:27:19 +01:00
function sudo() {
arguments=$@
command=$1
arguments=${arguments[@]/$command}
eval "$command $arguments"
}
2019-12-20 11:52:01 +01:00
2020-05-22 11:40:39 +02:00
neofetch