2017-12-19 18:50:19 +01:00
|
|
|
# Path to your oh-my-zsh installation.
|
2018-01-07 11:52:56 +01:00
|
|
|
export ZSH=~/.oh-my-zsh
|
2017-12-19 18:50:19 +01:00
|
|
|
|
2017-12-20 00:25:37 +01:00
|
|
|
# Set name of the theme to load. Optionally, if you set this to "random"
|
|
|
|
# it'll load a random theme each time that oh-my-zsh is loaded.
|
|
|
|
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
|
2017-12-19 18:50:19 +01:00
|
|
|
ZSH_THEME="powerlevel9k/powerlevel9k"
|
|
|
|
|
|
|
|
# Uncomment the following line to disable auto-setting terminal title.
|
|
|
|
DISABLE_AUTO_TITLE="true"
|
|
|
|
|
|
|
|
# Uncomment the following line if you want to change the command execution time
|
|
|
|
# stamp shown in the history command output.
|
|
|
|
# The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
|
2017-12-24 20:34:38 +01:00
|
|
|
HIST_STAMPS="yyyy.mm.dd"
|
2017-12-19 18:50:19 +01:00
|
|
|
|
2017-12-20 00:25:37 +01:00
|
|
|
# Would you like to use another custom folder than $ZSH/custom?
|
|
|
|
# ZSH_CUSTOM=/path/to/new-custom-folder
|
|
|
|
|
|
|
|
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
|
|
|
|
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
|
|
|
|
# Example format: plugins=(rails git textmate ruby lighthouse)
|
|
|
|
# Add wisely, as too many plugins slow down shell startup.
|
2017-12-19 18:50:19 +01:00
|
|
|
plugins=(
|
2018-01-05 02:33:01 +01:00
|
|
|
git
|
|
|
|
history
|
|
|
|
sudo
|
|
|
|
wd
|
|
|
|
web-search
|
2017-12-19 18:50:19 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
# User configuration
|
|
|
|
|
2017-12-24 20:34:38 +01:00
|
|
|
#POWERLEVEL
|
|
|
|
|
|
|
|
POWERLEVEL9K_MODE='awesome-fontconfig'
|
|
|
|
|
|
|
|
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(os_icon dir vcs)
|
|
|
|
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status time)
|
2017-12-19 18:50:19 +01:00
|
|
|
|
2017-12-24 20:34:38 +01:00
|
|
|
POWERLEVEL9K_STATUS_OK_BACKGROUND="blue"
|
|
|
|
POWERLEVEL9K_STATUS_OK_FOREGROUND="orange"
|
|
|
|
POWERLEVEL9K_STATUS_ERROR_BACKGROUND="blue"
|
|
|
|
POWERLEVEL9K_STATUS_ERROR_FOREGROUND="red"
|
2017-12-20 00:25:37 +01:00
|
|
|
|
2017-12-24 20:34:38 +01:00
|
|
|
#POWERLEVEL9K_BATTERY_BACKGROUND="color6"
|
|
|
|
#POWERLEVEL9K_BATTERY_DISCONNECTED="color6"
|
|
|
|
#POWERLEVEL9K_BATTERY_STAGES="▁▂▃▄▅▆▇█"
|
2017-12-20 00:25:37 +01:00
|
|
|
|
2017-12-24 20:34:38 +01:00
|
|
|
POWERLEVEL9K_TIME_BACKGROUND="black"
|
|
|
|
POWERLEVEL9K_TIME_FOREGROUND="color7"
|
|
|
|
POWERLEVEL9K_TIME_FORMAT="%D{%H:%M:%S} "
|
|
|
|
|
|
|
|
# PATHS
|
|
|
|
export TERM="xterm-256color" # in case you are using urxvt, to bypass an error during sshing
|
|
|
|
PATH=$PATH:~/.local/bin
|
2017-12-20 00:25:37 +01:00
|
|
|
|
|
|
|
# User alias
|
2017-12-19 18:50:19 +01:00
|
|
|
alias df="df -h"
|
|
|
|
alias mkvirtenv="python -m virtualenv --system-site-packages"
|
2018-01-08 03:42:57 +01:00
|
|
|
alias e="emacsclient -t"
|
2018-01-05 02:33:01 +01:00
|
|
|
alias nyan="nyancat"
|
2017-12-19 18:50:19 +01:00
|
|
|
alias rm="rm -i"
|
2018-01-08 05:09:47 +01:00
|
|
|
alias dir="du -h -d 1"
|
2018-01-04 16:56:03 +01:00
|
|
|
alias -s tex=emacs
|
|
|
|
alias -s cpp=emacs
|
2018-01-10 03:56:51 +01:00
|
|
|
alias org="e ~/Nextcloud/orgs/man.org"
|
2018-01-19 06:50:57 +01:00
|
|
|
alias neofetch="neofetch --block_range 0 16"
|
2018-01-22 16:34:03 +01:00
|
|
|
alias diff="diff -s"
|
|
|
|
|
2017-12-24 20:34:38 +01:00
|
|
|
source $ZSH/oh-my-zsh.sh
|
2018-01-04 16:56:03 +01:00
|
|
|
export GPG_TTY=$(tty)
|