-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.sam.sh
44 lines (36 loc) · 1.11 KB
/
.sam.sh
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
#
# Sam's bash config
#
# Start X
if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
exec startx
fi
# Export ssh auth socket
if [[ -z "${SSH_CONNECTION}" ]]; then
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
fi
complete -cf sudo
alias ls='lsd'
alias ll='ls -la'
alias ip='ip -color=auto'
alias lock='loginctl lock-session'
alias sus='sudo systemctl suspend'
alias pbcopy='xsel --clipboard --input'
alias pbpaste='xsel --clipboard --output'
alias compose='docker-compose'
alias up='yay -Syu'
alias batp='bat -p'
alias wip='git commit -a --allow-empty-message -m "" && git push'
alias pr='pipenv run'
alias status='sudo systemctl status'
alias start='sudo systemctl start'
alias stop='sudo systemctl stop'
alias bluestatus='systemctl status bluetooth'
alias blueon='sudo systemctl start bluetooth'
alias blueoff='sudo systemctl stop bluetooth'
alias backup='brightnessctl s +10%'
alias backdown='brightnessctl s 10%-'
alias backmax='brightnessctl s 100%'
export EDITOR="vim"
export PS1="[\[\e[33m\]\u\[\e[m\]@\[\e[33m\]\h\[\e[m\] \[\e[36m\]\W\[\e[m\]]\\$ "
export PATH="$HOME/bin:$HOME/.local/bin:$PATH"