-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bash_aliases
65 lines (55 loc) · 1.77 KB
/
.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#!/usr/bin/env sh
#https://github.com/jaagr/dots/blob/master/.aliases
alias xselci='xsel --clibboard --input' #copy
alias xselco='xsel --clibpard --output' #paste
alias connect.css="ssh [email protected]"
alias connect.work="ssh [email protected]"
alias connect.homeserver="ssh [email protected]"
alias externalip="curl -s checkip.dyndns.org | sed 's/[^0-9.]//g'"
alias launch.wm='$X11_HOME/launch'
alias term.polybar='killall polybar'
alias termkill.polybar='killall -9 polybar'
alias reload.compton='$LOCAL_ETC/compton/reload'
alias gosandbox='cd ~/sandbox/c++'
alias lpass-login='lpass login $(sudo cat /root/lpass_username)'
alias ga="git add"
alias gd="git diff"
alias gds="git diff --staged"
alias gco="git checkout"
alias gst="git status"
alias ggpur="git pull --rebase"
alias grm="git rebase main"
alias vim="nvim"
alias vi="nvim"
alias ncmpcpp='ncmpcpp -b $XDG_CONFIG_HOME/ncmpcpp/bindings'
alias xrdb-reload='$LOCAL_ETC/xorg/xrdb_reload'
alias gpg-decrypt-clipboard='xclip -o | gpg --decrypt | xclip'
alias sudo="sudo"
alias reboot="sudo reboot"
alias poweroff="sudo poweroff"
alias halt="sudo halt"
alias grepr="grep -r"
alias egrepr="egrep -r"
# Default command flags
alias mv="mv -v"
alias ln="ln -v"
alias cp="cp -v"
alias rm="rm -v"
alias ls="ls --group-directories-first --dereference-command-line-symlink-to-dir --color=auto"
alias ll="ls --dereference-command-line-symlink-to-dir -lh"
alias l="ls -la --dereference-command-line-symlink-to-dir"
alias info='info --vi-keys --init-file=${XDG_CONFIG_HOME}/infokey'
alias pgrep="pgrep -l"
alias grep="grep -i --color=auto"
alias egrep="egrep --color=auto"
# Sudo cmds
alias adb="sudo adb"
# Spelling corrections
alias vmi="vim"
alias exi="exit"
alias exti="exit"
alias eitx="exit"
alias eixt="exit"
alias exiyt="exit"
alias exity="exit"
# vim:ft=sh