ksh: init config
This commit is contained in:
parent
8eddbd0658
commit
3df8de1ec7
3 changed files with 32 additions and 0 deletions
24
.kshrc
Normal file
24
.kshrc
Normal file
|
@ -0,0 +1,24 @@
|
|||
PATH="$PATH:/home/jeremy/.local/bin:/home/jeremy/.nix-profile/bin:/nix/var/nix/profiles/default/bin"
|
||||
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
|
||||
|
||||
export XDG_RUNTIME_DIR=/tmp/rt/"$(id -u)"
|
||||
mkdir -p "$XDG_RUNTIME_DIR"
|
Loading…
Add table
Add a link
Reference in a new issue