Introduction
Introduction Statistics Contact Development Disclaimer Help
kshrc - dotfiles - These are my dotfiles. There are many like it, but these are…
git clone git://jay.scot/dotfiles
Log
Files
Refs
README
---
kshrc (1435B)
---
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=$HOME/bin:$PATH
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 alias man='fzf-man'
33
34 # git alias
35 alias ga='git add -A'
36 alias gs='git status -s'
37 alias gl="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%…
38 alias gd='git diff'
39 alias gma='git commit -am'
40
41 # browser
42 alias sr='sr -browser=w3m'
43 alias b='open-w3m-bookmarks'
44
45 # neo
46 alias vim='nvim'
47 alias mutt='neomutt'
48 alias mpv="mpv --autofit=30% --really-quiet --no-terminal"
49
50 # vpn
51 alias von='mullvad ~/.config/mullvad/se-mma-wg-111.conf'
52 alias vcheck='curl https://am.i.mullvad.net/connected'
53
54 # ksh
55 export LANG=en_US.UTF-8
56 export LC_CTYPE="en_US.UTF-8"
57 export LC_ALL=en_US.UTF-8
58 export PS1="\[\e[00;34m\]▶▶▶ \W \[\e[0m\]"
59 export HISTFILE=/home/jay/.cache/sh_history
60 export HISTSIZE=1000
61
62 set -o emacs
63
64 . $HOME/.config/ksh/ksh.func
You are viewing proxied material from jay.scot. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.