-
Notifications
You must be signed in to change notification settings - Fork 0
/
alias_all
120 lines (112 loc) · 4.12 KB
/
alias_all
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
alias vvim="vim"
alias rm='rm -v -I'
alias ll='exa --long --header --icons'
alias find='fd'
alias ls='ls --color=auto'
alias sd="nsxiv -a"
alias v="nvim"
alias vim="nvim"
alias wget="wget --hsts-file ~/.config/wget/wget-hsts"
alias mkc=". mkc"
alias cl=". cl"
alias cdl=". cl"
alias mkshify="python3 ~/.config/scripts/mkshify.py"
alias xcopy="xclip -selection c"
alias xpaste="xclip -selection c -o"
alias ssharchbox="ssh -p23 [email protected]"
alias sshmainbox="ssh -p24 [email protected]"
alias sshcentos="ssh [email protected]"
alias sshpolaris="ssh -p25 [email protected]"
alias sshkismet0="ssh [email protected]"
alias sshkismet1="ssh [email protected]"
alias sshkismet2="ssh [email protected]"
alias sshprotoweb="ssh [email protected]"
alias sshsorriahn="ssh [email protected]"
alias sshvoron="ssh [email protected]"
alias sshchronos2="ssh [email protected]"
alias sshbang="ssh [email protected]"
alias sshbong="ssh [email protected]"
alias sshbing="ssh [email protected]"
alias sshcr="ssh [email protected]"
#alias cups-start="doas rc-service cupsd start"
#alias cups-stop="doas rc-service cupsd stop"
alias st="tabbed -r 2 st -w '' -e zsh"
alias stv="tabbed -r 2 st -w '' -e nvim"
alias mr="xrandr --output DP-0 --mode 1920x1080 --rate 119.98 --primary --rotate normal"
alias ..="cd .."
alias ...="cd ../.."
alias clock_sync="sudo hwclock -s"
alias firefox=firefox-bin
alias wi="whereis"
alias xrdb="xrdb ~/.config/Xresources"
alias vc="nvim ~/.config/nvim/init.vim"
alias gA="git add -A"
alias ga="git add ."
alias toggle_mute="pactl set-sink-mute @DEFAULT_SINK@ toggle"
alias gc="git commit -m"
alias gP="git push "
alias gp="git pull"
alias gos="git remote set-url origin"
alias goa="git remote add origin"
alias gsu="git push --set-upstream origin master"
alias bunR="bun run dev"
alias r="source ~/.config/alias_all"
bindkey -e
export PATH=$PATH/home/sean/.local/bin
#export PATH=$PATH:/usr/local/bin
# directory aliases
alias vid="cd /mnt/scratch_disk/"
alias s="cd $HOME/.config/scripts/"
alias t="reattach.py"
alias tn="tmux"
alias tx="tmux a -t"
alias vimconf="v ~/.config/nvim/init.vim"
alias services="cd /etc/sv/"
alias quiet_gpu="sudo nvidia-settings -a '[fan:0]/GPUTargetFanSpeed=33'"
alias speakers="pactl list sinks short"
alias setspeaker="pactl set-default-sink "
alias runzshprofile="export ZSH_PROFILE=true && zsh && echo $(unset ZSH_PROFILE)"
alias reloadshell="source ~/.config/.zshrc"
alias yarn="yarn --use-yarnrc $XDG_CONFIG_HOME/yarn/yarnrc"
export XDG_CURRENT_DESKTOP=xmonad
export WINEPREFIX="/home/sean/.fusion360/wineprefixes/"
export TERM='screen-256color'
export EDITOR="nvim"
export TERMINAL="screen-256color"
export terminal="screen-256color"
export COLORTERM="truecolor"
export _JAVA_AWT_WM_NONREPARENTING=1
export LOGNAME="sean"
export HOSTNAME="seantoo"
export MAIL="/var/spool/mail/sean"
export GRADLE_USER_HOME="/home/sean/.config/gradle"
export NPM_CONFIG_USERCONFIG="/home/sean/.config/npmrc"
export ANDROID_SDK_HOME="/home/sean/.config/android"
export DISTCC_DIR="/var/tmp/portage/.distcc"
export WAKATIME_HOME="/home/sean/.config/wakatime"
export GTK_USE_PORTAL=1
export BUN_INSTALL="/home/sean/.bun"
export PATH="$BUN_INSTALL/bin:$PATH"
export CARGO_HOME="/home/sean/.config/.cargo/"
export MYVIMRC="/home/sean/.config/nvim/init.vim"
export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv
alias nvidia-settings="nvidia-settings --config="$XDG_CONFIG_HOME"/nvidia/settings"
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_DOCUMENTS_DIR="$HOME/misc"
XDG_MUSIC_DIR="$HOME/misc"
XDG_PICTURES_DIR="$HOME/misc"
XDG_PUBLICSHARE_DIR="$HOME/misc"
XDG_TEMPLATES_DIR="$HOME/misc"
XDG_VIDEOS_DIR="$HOME/misc"
lnvm () {
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This
}
# mksh only
# PS1=$'\a\e[1;34m\a\a\e[32m\a$(date +%H:%M)\a\e[0m\a \e[0;33m\a$(local d=${PWD:-?} p=~; [[ $p = ?(*/) ]] || d=${d/#$p/~};
# print -nr -- "$d")
# \a\e[1;34m\aλ \a\e[1;0m\a'
. "$HOME/.config/.cargo/env"
#export NVM_DIR="$HOME/.config/nvm"
#[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm