-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
57 lines (42 loc) · 1.92 KB
/
.zshrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
ZSH_THEME="bira" # set by `omz`
# 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?
# Standard plugins can be found in $ZSH/plugins/
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git virtualenvwrapper pip command-not-found fzf colored-man-pages zsh-syntax-highlighting tig docker)
source $ZSH/oh-my-zsh.sh
# User configuration
export EDITOR='vim'
export VISUAL="$EDITOR"
# 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 cfgzsh="$EDITOR ~/.zshrc"
alias cfgomz="$EDITOR ~/.oh-my-zsh"
alias cfgi3="$EDITOR ~/.config/i3/config"
alias vi='/usr/local/bin/vim'
alias vim='vi'
alias vimzf='vi $(fzf)'
export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3
export WORKON_HOME=~/.virtualenvs
source ~/.local/bin/virtualenvwrapper.sh
export LC_NUMERIC="en_US.UTF-8"
alias ssh='ssh -oHostKeyAlgorithms=+ssh-rsa'
alias scp='scp -oHostKeyAlgorithms=+ssh-rsa'
export PATH=$PATH:/home/mathias/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin/
source /home/mathias/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh