kshrc - dotfiles - These are my dotfiles. There are many like it, but these are mine.
(HTM) git clone git://jay.scot/dotfiles
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
kshrc (1385B)
---
1 export XDG_CONFIG_HOME="$HOME/.config"
2 export XDG_CACHE_HOME="$HOME/.cache"
3 export XDG_DATA_HOME="$HOME/.local/share"
4 export XDG_STATE_HOME="$HOME/.local/state"
5
6 # common exports
7 GPG_TTY=$(tty)
8 export GPG_TTY
9 export EDITOR="nvim"
10 export BROWSER="firefox"
11 export PATH=$PATH:$HOME/bin
12
13 # tools
14 export OPENER=~/bin/link-handler
15
16 # pass
17 export PASSWORD_STORE_DIR=$HOME/src/pass
18
19 # lynx
20 export LYNX_CFG=$HOME/.config/lynx/config
21 export LYNX_LSS=$HOME/.config/lynx/theme.lss
22
23 # safety first kids!
24 alias cp='cp -i'
25 alias mv='mv -i'
26 alias rm='rm -i'
27
28 # random alias
29 alias weather='curl wttr.in/?1QF'
30 alias ls='colorls -G'
31 alias pass='gopass'
32
33 # git alias
34 alias ga='git add -A'
35 alias gs='git status -s'
36 alias gl="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
37 alias gd='git diff'
38 alias gma='git commit -am'
39
40 # browser
41 alias sr='sr -browser=w3m'
42 alias b='open-w3m-bookmarks'
43
44 # neo
45 alias vim='nvim'
46 alias mutt='neomutt'
47 alias mpv="mpv --autofit=30% --really-quiet --no-terminal"
48
49 # vpn
50 alias von='mullvad ~/.config/mullvad/se-mma-wg-111.conf'
51 alias vcheck='curl https://am.i.mullvad.net/connected'
52
53 # ksh
54 export LANG=en_US.UTF-8
55 export LC_CTYPE="en_US.UTF-8"
56 export LC_ALL=en_US.UTF-8
57 export PS1="\[\e[00;34m\]▶▶▶ \W \[\e[0m\]"
58 export HISTFILE=/home/jay/.cache/sh_history
59 export HISTSIZE=1000
60
61 set -o emacs