20 lines
515 B
Bash
20 lines
515 B
Bash
PS1='\033[1;31m\u\033[0m \w \$ '
|
|
PS2='+ '
|
|
HISTFILE="$HOME"/.ksh-history
|
|
HISTSIZE=1000000
|
|
|
|
alias aerc="EDITOR=vim aerc"
|
|
alias make=bmake
|
|
alias vi="emacsclient -nw"
|
|
alias npi="nix profile install"
|
|
alias npr="nix profile remove"
|
|
alias npl="nix profile list"
|
|
alias sway="dbus-launch --exit-with-session sway"
|
|
alias pmx="pulseaudio --start && pulsemixer"
|
|
|
|
upload () {
|
|
rsync "$1" root@baxter.local:/srv/www/sshots/
|
|
printf 'http://%s/sshots/%s' "$(curl ifconfig.co | xargs)" "$(basename "$1")" | wl-copy
|
|
}
|
|
|
|
set -o emacs
|