325 lines
No EOL
4.5 KiB
Bash
325 lines
No EOL
4.5 KiB
Bash
export PATH=$HOME/bin:/usr/local/bin:$PATH
|
|
export ZSH=$HOME/.oh-my-zsh
|
|
|
|
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
|
|
ZSH_THEME="agnoster"
|
|
|
|
# CASE_SENSITIVE="true"
|
|
# HYPHEN_INSENSITIVE="true"
|
|
# DISABLE_AUTO_UPDATE="true"
|
|
# export UPDATE_ZSH_DAYS=13
|
|
# DISABLE_LS_COLORS="true"
|
|
# DISABLE_AUTO_TITLE="true"
|
|
# ENABLE_CORRECTION="true"
|
|
# Uncomment the following line to display red dots whilst waiting for completion.
|
|
# COMPLETION_WAITING_DOTS="true"
|
|
|
|
# DISABLE_UNTRACKED_FILES_DIRTY="true"
|
|
HIST_STAMPS="yyyy-mm-dd"
|
|
|
|
# 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=(
|
|
#adb
|
|
#ant
|
|
#apache2-macports
|
|
#arcanist
|
|
archlinux
|
|
#asdf
|
|
#autoenv
|
|
#autojump
|
|
#autopep8
|
|
#aws
|
|
#battery
|
|
#bbedit
|
|
#bgnotify
|
|
#boot2docker
|
|
bower
|
|
branch
|
|
#brew
|
|
#bundler
|
|
#bwana
|
|
#cabal
|
|
#cake
|
|
#cakephp3
|
|
#capistrano
|
|
#cargo
|
|
#cask
|
|
#catimg
|
|
#celery
|
|
#chruby
|
|
#chucknorris
|
|
#cloudapp
|
|
#codeclimate
|
|
#coffee
|
|
#colemak
|
|
colored-man-pages
|
|
colorize
|
|
#command-not-found
|
|
#common-aliases
|
|
#compleat
|
|
composer
|
|
#copybuffer
|
|
#copydir
|
|
#copyfile
|
|
cp
|
|
#cpanm
|
|
debian
|
|
#dircycle
|
|
#dirhistory
|
|
#dirpersist
|
|
#django
|
|
#dnf
|
|
docker
|
|
docker-compose
|
|
#docker-machine
|
|
#dotenv
|
|
#droplr
|
|
#eecms
|
|
#emacs
|
|
#ember-cli
|
|
#emoji
|
|
#emoji-clock
|
|
#emotty
|
|
encode64
|
|
#extract
|
|
#fabric
|
|
#fancy-ctrl-z
|
|
#fasd
|
|
#fastfile
|
|
#fbterm
|
|
#fedora
|
|
#firewalld
|
|
#forklift
|
|
#fossil
|
|
#frontend-search
|
|
#gas
|
|
#gb
|
|
#geeknote
|
|
#gem
|
|
git
|
|
git-extras
|
|
#git-flow
|
|
#git-flow-avh
|
|
#git-hubflow
|
|
#git-prompt
|
|
#git-remote-branch
|
|
#gitfast
|
|
#github
|
|
gitignore
|
|
#glassfish
|
|
#globalias
|
|
gnu-utils
|
|
go
|
|
golang
|
|
gpg-agent
|
|
#gradle
|
|
#grails
|
|
#grunt
|
|
#gulp
|
|
#hanami
|
|
#helm
|
|
#heroku
|
|
history
|
|
#history-substring-search
|
|
#httpie
|
|
iterm2
|
|
#iwhois
|
|
#jake-node
|
|
#jhbuild
|
|
#jira
|
|
#jruby
|
|
jsontools
|
|
#jump
|
|
#kate
|
|
#kitchen
|
|
#knife
|
|
#knife_ssh
|
|
#kops
|
|
#kube-ps1
|
|
#kubectl
|
|
#laravel
|
|
#laravel4
|
|
#laravel5
|
|
#last-working-dir
|
|
#lein
|
|
#lighthouse
|
|
#lol
|
|
#macports
|
|
man
|
|
#marked2
|
|
#mercurial
|
|
#meteor
|
|
#minikube
|
|
#mix
|
|
#mix-fast
|
|
#mosh
|
|
#mvn
|
|
#mysql-macports
|
|
#n98-magerun
|
|
nanoc
|
|
#ng
|
|
#nmap
|
|
#node
|
|
#nomad
|
|
npm
|
|
#npx
|
|
#nvm
|
|
#nyan
|
|
#oc
|
|
#osx
|
|
#pass
|
|
#paver
|
|
#pep8
|
|
#per-directory-history
|
|
#perl
|
|
#perms
|
|
#phing
|
|
pip
|
|
#pj
|
|
#pod
|
|
postgres
|
|
#pow
|
|
#powder
|
|
#powify
|
|
#profiles
|
|
#pyenv
|
|
#pylint
|
|
python
|
|
#rails
|
|
#rake
|
|
#rake-fast
|
|
#rand-quote
|
|
#rbenv
|
|
#rbfu
|
|
#react-native
|
|
#rebar
|
|
redis-cli
|
|
#repo
|
|
rsync
|
|
#ruby
|
|
#rust
|
|
#rvm
|
|
#safe-paste
|
|
#sbt
|
|
#scala
|
|
#scd
|
|
#screen
|
|
#scw
|
|
#sfffe
|
|
#shrink-path
|
|
#singlechar
|
|
#spring
|
|
#sprunge
|
|
ssh-agent
|
|
#stack
|
|
#sublime
|
|
sudo
|
|
supervisor
|
|
#suse
|
|
#svn
|
|
#svn-fast-info
|
|
#swiftpm
|
|
#symfony
|
|
#symfony2
|
|
#systemadmin
|
|
systemd
|
|
#taskwarrior
|
|
#terminalapp
|
|
#terminitor
|
|
#terraform
|
|
#textastic
|
|
#textmate
|
|
#thefuck
|
|
#themes
|
|
#thor
|
|
#tig
|
|
tmux
|
|
#tmux-cssh
|
|
#tmuxinator
|
|
#torrent
|
|
#tugboat
|
|
#ubuntu
|
|
#urltools
|
|
#vagrant
|
|
#vault
|
|
#vi-mode
|
|
#vim-interaction
|
|
#virtualenv
|
|
#virtualenvwrapper
|
|
#vundle
|
|
#wakeonlan
|
|
#wd
|
|
#web-search
|
|
#wp-cli
|
|
#xcode
|
|
#yarn
|
|
#yii
|
|
#yii2
|
|
#yum
|
|
#z
|
|
#zeus
|
|
#zsh-navigation-tools
|
|
#zsh_reload
|
|
)
|
|
|
|
source $ZSH/oh-my-zsh.sh
|
|
|
|
# User configuration
|
|
# export MANPATH="/usr/local/man:$MANPATH"
|
|
# export LANG=en_US.UTF-8
|
|
|
|
# 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"
|
|
|
|
# Set personal aliases, overriding those provided by oh-my-zsh libs,
|
|
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
|
|
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
|
|
# For a full list of active aliases, run `alias`.
|
|
#
|
|
# Example aliases
|
|
# alias zshconfig="mate ~/.zshrc"
|
|
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
|
|
|
|
|
HISTFILE="$HOME/.zshistory"
|
|
HISTSIZE=20000
|
|
SAVEHIST=10000
|
|
alias hist='history -D -E'
|
|
setopt hist_ignore_dups
|
|
#export TERM=rxvt-unicode-256color
|
|
unsetopt rm_star_silent
|
|
setopt auto_pushd
|
|
alias ls='ls --classify --tabsize=0 --literal --color=auto --show-control-chars --human-readable'
|
|
alias l='ls'
|
|
alias ll='ls -ahl'
|
|
alias fr='setxkbmap fr'
|
|
alias us='setxkbmap us'
|
|
|
|
status() {
|
|
print ""
|
|
print "Date..: "$(date "+%Y-%m-%d %H:%M:%S")""
|
|
print "Shell.: Zsh $ZSH_VERSION (PID = $$, $SHLVL nests)"
|
|
print "Term..: $TTY ($TERM), $BAUD bauds, $COLUMNS x $LINES cars"
|
|
print "Login.: $LOGNAME (UID = $EUID) on $HOST"
|
|
print "System: $(cat /etc/[A-Za-z]*[_-][rv]e[lr]*)"
|
|
print "Uptime:$(uptime)"
|
|
print ""
|
|
}
|
|
|
|
alias meteo='curl -4 http://wttr.in/Roubaix' |