diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2026-05-08 23:55:30 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2026-05-08 23:55:30 +0200 |
| commit | c4d0e3de7ad04114797abb14368e4a6f8da04a60 (patch) | |
| tree | 5ef72a5dfb5f6b1b15c1c3ac3e2e876bb9398ed2 /.profile | |
| parent | 453436ee53cd9935473cf1944dd072281d69a99f (diff) | |
| download | config-c4d0e3de7ad04114797abb14368e4a6f8da04a60.tar.gz config-c4d0e3de7ad04114797abb14368e4a6f8da04a60.zip | |
Updates from alpine
Diffstat (limited to '.profile')
| -rw-r--r-- | .profile | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/.profile b/.profile new file mode 100644 index 0000000..03b1379 --- /dev/null +++ b/.profile | |||
| @@ -0,0 +1,54 @@ | |||
| 1 | set -o vi | ||
| 2 | |||
| 3 | PATH="$HOME/scripts:$PATH" | ||
| 4 | PS1="[\h \W] \$ " | ||
| 5 | export LC_COLLATE="C" | ||
| 6 | |||
| 7 | export HISTCONTROL=ignoredups | ||
| 8 | export HISTFILE=$HOME/.sh_history | ||
| 9 | export HISTSIZE=10000 | ||
| 10 | |||
| 11 | # Standard stuff and variables for my scripts | ||
| 12 | export EDITOR=vi | ||
| 13 | export VISUAL=vi | ||
| 14 | export XEDIT=xedit | ||
| 15 | export NOTIFY=notify | ||
| 16 | export OPENER=open-file | ||
| 17 | export BROWSER=firefox | ||
| 18 | export XDG_CONFIG_HOME="$HOME/.config" | ||
| 19 | export XDG_DATA_HOME="$HOME/.local/share" | ||
| 20 | export XDG_CACHE_HOME="$HOME/.cache" | ||
| 21 | |||
| 22 | # Program-specific stuff | ||
| 23 | export FZF_DEFAULT_OPTS="-e -i -m --no-bold --no-color --layout=reverse-list" | ||
| 24 | export LYNX_CFG="$XDG_CONFIG_HOME/lynx/lynx.cfg" | ||
| 25 | export LYNX_LSS="$XDG_CONFIG_HOME/lynx/lynx.lss" | ||
| 26 | export PYTHON_COLORS=0 | ||
| 27 | |||
| 28 | ### Aliases and functions | ||
| 29 | alias bc='bc -q /home/sebastiano/box/bc.library' | ||
| 30 | alias o='open-file' | ||
| 31 | alias rm='trash rm' | ||
| 32 | alias ls='ls --color=auto' | ||
| 33 | alias clip='clip -m fzf' | ||
| 34 | alias bm='dmenu-bookmarks -m fzf' | ||
| 35 | alias f='feed get && feed -m fzf menu' | ||
| 36 | alias svi='vi "+so $HOME/.virc-spaces"' | ||
| 37 | |||
| 38 | # Email management (mblaze) | ||
| 39 | MAIL=$HOME/mail | ||
| 40 | msync() { mbsync -a; } | ||
| 41 | msc() { d=${1:-$MAIL/INBOX}; minc -q $d; mlist -t $d | mthread | mseq -S; mscan; } | ||
| 42 | mget() { mbsync -a; msc; } | ||
| 43 | mtt() { echo $MAIL/Trash | xargs mrefile $@; } | ||
| 44 | mta() { echo $MAIL/Archive | xargs mrefile $@; } | ||
| 45 | mpk() { f=$1; shift; mpick -t "$f =~~ \"$@\""; } | ||
| 46 | s() { mshow $@ | templess; } | ||
| 47 | sht() { mshow -A text/html $@; } | ||
| 48 | n() { mshow .+1 | templess; } | ||
| 49 | |||
| 50 | # nissy build options | ||
| 51 | #export NISSY_BUILD_SANITIZE="address,undefined" | ||
| 52 | |||
| 53 | # Session cookies are kept in .ssh | ||
| 54 | [ -f $HOME/.ssh/sessions ] && . $HOME/.ssh/sessions | ||
