-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bash_aliases
42 lines (32 loc) · 978 Bytes
/
.bash_aliases
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
alias l='ls -lhF'
alias python=python3
alias system-python=/usr/bin/python3
# Match CentOS's /usr/libexec/platform-python
alias platform-python=system-python
# clipboard < file.txt
# echo file.txt | clipboard
alias clipboard='xclip -selection clipboard'
alias open=xdg-open
alias specs=screenfetch
alias HUD=htop
alias cleanContainers='docker container prune'
alias cleanImages='docker image prune'
alias icanhazip='curl icanhazip.com'
# cluster logins
# use ~/.ssh/config for details
alias lxplus='ssh LXPLUS'
alias beastmode='ssh Beast'
alias atlasconnect='ssh ATLASConnect'
alias bluewaters='ssh BLUEWATERS'
# tools
# https://github.com/saulpw/visidata
if [ -f "/usr/bin/vd" ]; then
alias visidata='vd'
fi
if [ -f "/usr/local/cuda/version.txt" ]; then
alias cuda-version="cat /usr/local/cuda/version.txt"
elif [ -f "/usr/lib/cuda/version.txt" ]; then
alias cuda-version="cat /usr/lib/cuda/version.txt"
fi
# fun
alias advice='cowsay $(fortune) | lolcat'