dotfiles/zsh/.zshrc

50 lines
1.2 KiB
Bash
Raw Normal View History

2018-01-07 11:52:56 +01:00
export ZSH=~/.oh-my-zsh
plugins=(
2018-01-05 02:33:01 +01:00
git
history
sudo
wd
web-search
)
ZSH_THEME="powerlevel9k/powerlevel9k"
HIST_STAMPS="yyyy.mm.dd"
#POWERLEVEL
POWERLEVEL9K_MODE='awesome-fontconfig'
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(os_icon dir vcs)
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status time)
POWERLEVEL9K_STATUS_OK_BACKGROUND="blue"
POWERLEVEL9K_STATUS_OK_FOREGROUND="orange"
POWERLEVEL9K_STATUS_ERROR_BACKGROUND="blue"
POWERLEVEL9K_STATUS_ERROR_FOREGROUND="red"
POWERLEVEL9K_TIME_BACKGROUND="black"
POWERLEVEL9K_TIME_FOREGROUND="color7"
POWERLEVEL9K_TIME_FORMAT="%D{%H:%M:%S} "
# Alias
alias df="df -h"
alias mkvirtenv="python -m virtualenv --system-site-packages"
alias e="emacsclient -t"
2018-01-05 02:33:01 +01:00
alias nyan="nyancat"
alias rm="rm -i"
alias -s tex=e
alias -s cpp=e
alias org="e ~/Nextcloud/orgs/man.org"
alias neofetch="neofetch --block_range 0 16"
alias diff="diff -s"
alias ebudget="e ~/Nextcloud/orgs/Budget/MyBudget.ledger"
alias budget="ledger -f ~/Nextcloud/orgs/Budget/MyBudget.ledger"
source $ZSH/oh-my-zsh.sh
# Variables
export TERM="xterm-256color" # in case you are using urxvt, to bypass an error during sshing
export GPG_TTY=$(tty)
export LC_ALL=en_GB.UTF-8
PATH=$PATH:~/.local/bin