-
Notifications
You must be signed in to change notification settings - Fork 3
/
.bashrc
executable file
·49 lines (46 loc) · 1.56 KB
/
.bashrc
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
# _ _ _ _
# | |__ __ _ ___| |__ _ __ ___ | | ____ _(_)___ ___ _ __
# | '_ \ / _` / __| '_ \| '__/ __| | |/ / _` | / __|/ _ \ '__|
# _| |_) | (_| \__ \ | | | | | (__ | < (_| | \__ \ __/ |
# (_)_.__/ \__,_|___/_| |_|_| \___| |_|\_\__,_|_|___/\___|_|
#
### start_symbol_kaiserqzyue
# we add a empty line above to make sure the script append it correctly.
# set vim mode for bash
set -o vi
# set aliases for some frequently used git commands
alias g='git'
alias gst='git status'
alias gps='git push'
alias gpl='git pull'
alias ga='git add'
# git add all
alias gaa='git add :/'
# git add dot
alias gad='git add .'
alias gcm='git commit'
alias gft='git fetch'
alias gmg='git merge'
alias gl='git log'
alias gdf='git diff'
# set aliases for some frequently used jupyter commands
alias jpt='jupyter'
alias jptnb='jupyter notebook'
alias jptnbcv='jupyter nbconvert'
# set aliases for some frequently used bash commands
# we use -h always to make the size of files more humane
alias ll='ls -lFh'
# goes to up directory
alias up='cd ..'
# Those two lines are for WSL to use windows clipboard
alias wcp='clip.exe'
alias wpst='powershell.exe Get-Clipboard'
# Let ^L clear the screen
bind "\C-l":clear-screen
export PATH=$PATH:~/node-v20.13.0-linux-x64/bin:~/.local/bin
# neovim path
export PATH="$PATH:/opt/nvim-linux64/bin"
# yarn bin
export PATH="$PATH:~/.yarn/bin"
# we add a empty line below to make sure the script append it coreectly.
### end_symbol_kaiserqzyue