48 lines
1.1 KiB
Bash
48 lines
1.1 KiB
Bash
export ZSH=~/.oh-my-zsh
|
|
|
|
plugins=(
|
|
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"
|
|
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"
|
|
|
|
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
|