home/zshrc

119 lines
3.7 KiB
Bash
Raw Normal View History

2017-04-03 22:24:16 +02:00
export ZSH=/home/dbroqua/.oh-my-zsh
2017-06-19 13:19:54 +02:00
ZSH_THEME="aussiegeek"
2017-04-03 22:24:16 +02:00
# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"
# Uncomment the following line to use hyphen-insensitive completion. Case
# sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true"
# Uncomment the following line to disable bi-weekly auto-update checks.
# DISABLE_AUTO_UPDATE="true"
# Uncomment the following line to change how often to auto-update (in days).
# export UPDATE_ZSH_DAYS=13
# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"
# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"
# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"
# Uncomment the following line to display red dots whilst waiting for completion.
# COMPLETION_WAITING_DOTS="true"
# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="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="mm/dd/yyyy"
# 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.
plugins=(git)
# User configuration
export PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"
source $ZSH/oh-my-zsh.sh
# You may need to manually set your language environment
# export LANG=en_US.UTF-8
export EDITOR='vim'
alias ls="ls --color=auto"
alias mv="mv -v"
alias la="ls -a"
alias ll="ls -l"
alias llh="ls -lh"
alias grep="grep --color=auto -n"
alias xres="xrdb ~/.Xresources"
# Battery Remaining
alias bat="ibam --percentbattery"
alias bat_details="upower -i /org/freedesktop/UPower/devices/battery_BAT0"
screenfetch
fortune fr/bd
2017-06-11 21:43:33 +02:00
dfc -dTw
2017-04-03 22:24:16 +02:00
zstyle -s ':completion:*:hosts' hosts _ssh_config
[[ -r ~/.ssh/config ]] && _ssh_config+=($(cat ~/.ssh/config | sed -ne 's/Host[=\t ]//p'))
zstyle ':completion:*:hosts' hosts $_ssh_config
if [ -z "$SSH_AUTH_SOCK" ] ; then
eval `ssh-agent -s`
ssh-add ~/.ssh/id_rsa
2017-05-11 21:21:36 +02:00
fi
# List of accounts to read the last tweet from, comma separated
# The first in the list is read by the party parrot.
export TTC_BOTS='tinycarebot,selfcare_bot,magicrealismbot'
# Use this to have a different animal say a message in the big box.
export TTC_SAY_BOX="parrot"
# List of folders to look into for `git` commits, comma separated.
export TTC_REPOS='~/WebstormProjects/dbroqua'
# The max directory-depth to look for git repositories in
# the directories defined with `TTC_REPOS`. Note that the deeper
# the directory depth, the slower the results will be fetched.
export TTC_REPOS_DEPTH=2
# Location/zip code to check the weather for. Both 90210 and "San Francisco, CA"
# _should_ be ok (the zip code doesn't always work -- use a location
# first, if you can). It's using weather.service.msn.com behind the curtains.
export TTC_WEATHER='Bordeaux'
# Set to false if you're an imperial savage. <3
export TTC_CELSIUS=true
# Unset this if you _don't_ want to use Twitter keys and want to
# use web scraping instead.
export TTC_APIKEYS=true
# Refresh the dashboard every 20 minutes.
export TTC_UPDATE_INTERVAL=5
2017-06-19 23:12:28 +02:00
#rivalcfg --color=#509ADB -e steady
2017-06-11 21:43:33 +02:00
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh