ashrc - 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
---
ashrc (1519B)
---
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="lynx"
11 export PATH=$PATH:$HOME/bin
12
13 # tools
14 export OPENER=~/bin/link-handler.sh
15 export BEMENU_OPTS="-l 10 -p '>>> ' --tb '#000000' --tf '#ffffff' --hf '#444444' -c -W0.4 --fn 'Hack 14'"
16
17 # lynx
18 export LYNX_CFG=$HOME/.config/lynx/config
19 export LYNX_LSS=$HOME/.config/lynx/theme.lss
20
21 # rdrview
22 export RDRVIEW_BROWSER=lynx
23 export RDRVIEW_USER_AGENT=Lynx/2.9.2
24
25 # pass
26 export PASSWORD_STORE_DIR=$HOME/src/pass
27
28 # ash
29 export LANG=en_US.UTF-8
30 export LC_CTYPE="en_US.UTF-8"
31 export LC_ALL=en_US.UTF-8
32
33 # paste bin
34 alias tb='nc termbin.com 9999'
35
36 # safety first kids!
37 alias cp='cp -i'
38 alias mv='mv -i'
39 alias rm='rm -i'
40
41 # random alias
42 alias weather='curl wttr.in/?1QF'
43 alias wget='wget --hsts-file="$XDG_CACHE_HOME/wget-hsts"'
44 alias c89='gcc -ansi -pedantic'
45
46 # git alias
47 alias ga='git add -A'
48 alias gs='git status -s'
49 alias gl="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
50 alias gd='git diff'
51 alias gma='git commit -am'
52
53 # neo
54 alias vim='nvim'
55 #alias mutt='neomutt'
56 alias mpv="mpv --autofit=30% --really-quiet --no-terminal"
57
58 # vpn
59 alias von='doas resolvconf -u && doas wg-quick up be-bru-wg-103'
60 alias voff='doas wg-quick down be-bru-wg-103'
61 alias vcheck='curl https://am.i.mullvad.net/connected'