2017-12-19 18:50:19 +01:00
|
|
|
# Path to your oh-my-zsh installation.
|
2017-12-20 00:25:37 +01:00
|
|
|
export ZSH=/home/tuan/.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"
|
|
|
|
HIST_STAMPS="yyyy.mm.dd"
|
|
|
|
|
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=(
|
|
|
|
git
|
|
|
|
)
|
|
|
|
|
|
|
|
source $ZSH/oh-my-zsh.sh
|
|
|
|
|
|
|
|
# User configuration
|
|
|
|
|
|
|
|
POWERLEVEL9K_MODE='awesome-patched'
|
|
|
|
export TERM="xterm-256color"
|
|
|
|
|
2017-12-20 00:25:37 +01:00
|
|
|
# Preferred editor for local and remote sessions
|
|
|
|
# if [[ -n $SSH_CONNECTION ]]; then
|
|
|
|
# export EDITOR='vim'
|
|
|
|
# else
|
|
|
|
# export EDITOR='mvim'
|
|
|
|
# fi
|
|
|
|
|
|
|
|
# Compilation flags
|
|
|
|
# export ARCHFLAGS="-arch x86_64"
|
|
|
|
|
|
|
|
# ssh
|
|
|
|
# export SSH_KEY_PATH="~/.ssh/rsa_id"
|
|
|
|
|
|
|
|
# User alias
|
2017-12-19 18:50:19 +01:00
|
|
|
alias df="df -h"
|
|
|
|
alias mkvirtenv="python -m virtualenv --system-site-packages"
|
2017-12-20 00:25:37 +01:00
|
|
|
alias emacs="emacs -nw"
|
2017-12-19 18:50:19 +01:00
|
|
|
alias rm="rm -i"
|