-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
59 lines (47 loc) · 1.63 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
58
59
# zshrc configuration file.
# Set the path to the oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
# Set the name of the theme to use.
ZSH_THEME="robbyrussell"
# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"
# Uncomment the following line to use hyphen-insensitive completion.
# HYPHEN_INSENSITIVE="true"
# Plugins.
plugins=(git)
# Load the oh-my-zsh framework.
source $ZSH/oh-my-zsh.sh
# Set some personal aliases.
# alias ls='exa -laFh --git'
# alias exa='exa -laFh --git'
alias ls='exa -laFh'
alias exa='exa -laFh'
alias cc='clear'
alias gta='git add'
alias gtc='git commit -m'
alias gtp='git push'
alias cdd='cd /home/baptiste/delivery/tek2'
# alias man='batman'
alias trail='bat <<<${(F)path}'
alias code='/mnt/c/Users/leroy/AppData/Local/Programs/Microsoft\ VS\ Code/bin/code'
alias bat='batcat'
# Set some environment variables.
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/baptiste/delivery/tek2/myteams/libs/myteams
export PATH=$PATH:/usr/local/go/bin
export PATH=$PATH:/home/baptiste/flutter/bin
export PATH=$PATH:/mnt/c/Users/leroy/AppData/Local/Programs/Microsoft\ VS\ Code/bin
export PATH=$PATH:/home/baptiste/.local/bin
# Load the nvm configuration.
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# Set the Go path.
export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin
# Define custom functions.
function mkcd() {
mkdir -p "$@" && cd "$_"
}
# gvm
[[ -s "/home/baptiste/.gvm/scripts/gvm" ]] && source "/home/baptiste/.gvm/scripts/gvm"
# gvm end