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 /.bashrc-local | |
| parent | 453436ee53cd9935473cf1944dd072281d69a99f (diff) | |
| download | config-c4d0e3de7ad04114797abb14368e4a6f8da04a60.tar.gz config-c4d0e3de7ad04114797abb14368e4a6f8da04a60.zip | |
Updates from alpine
Diffstat (limited to '.bashrc-local')
| -rw-r--r-- | .bashrc-local | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/.bashrc-local b/.bashrc-local deleted file mode 100644 index b9d9858..0000000 --- a/.bashrc-local +++ /dev/null | |||
| @@ -1,65 +0,0 @@ | |||
| 1 | set -o vi | ||
| 2 | |||
| 3 | PS1="[\h \W] \$ " | ||
| 4 | |||
| 5 | export HISTCONTROL=ignoredups | ||
| 6 | export HISTFILE=$HOME/.sh_history | ||
| 7 | export HISTSIZE=10000 | ||
| 8 | |||
| 9 | # Standard stuff and variables for my scripts | ||
| 10 | export EDITOR=vi | ||
| 11 | export VISUAL=vi | ||
| 12 | export TERMINAL="ptyxis --new-window" | ||
| 13 | export XEDIT="gnome-text-editor" | ||
| 14 | export NOTIFY=notify-send | ||
| 15 | export OPENER=xdg-open #or set to open-file from scripts | ||
| 16 | export BROWSER=firefox | ||
| 17 | export XDG_CONFIG_HOME="$HOME/.config" | ||
| 18 | export XDG_DATA_HOME="$HOME/.local/share" | ||
| 19 | export XDG_CACHE_HOME="$HOME/.cache" | ||
| 20 | export PYTHON_COLORS=0 | ||
| 21 | |||
| 22 | # Locale overrides | ||
| 23 | export LC_COLLATE="C" | ||
| 24 | |||
| 25 | ### Program-specific | ||
| 26 | export FZF_DEFAULT_OPTS="-e -i -m --no-bold --no-color --layout=reverse-list" | ||
| 27 | export LYNX_CFG="$XDG_CONFIG_HOME/lynx/lynx.cfg" | ||
| 28 | export LYNX_LSS="$XDG_CONFIG_HOME/lynx/lynx.lss" | ||
| 29 | |||
| 30 | ### Aliases and functions | ||
| 31 | alias bc='bc -q /home/sebastiano/box/bc.library' | ||
| 32 | alias o='xdg-open' | ||
| 33 | alias rm='trash-put' | ||
| 34 | alias ls='ls --color=auto' | ||
| 35 | alias clip='clip -m fzf' | ||
| 36 | alias bm='dmenu-bookmarks -m fzf' | ||
| 37 | alias f='feed get && feed -m fzf menu' | ||
| 38 | alias svi='vi "+so $HOME/.virc-spaces"' | ||
| 39 | |||
| 40 | # Email management (mblaze) | ||
| 41 | MAIL=$HOME/mail | ||
| 42 | msync() { mbsync -a; } | ||
| 43 | msc() { d=${1:-$MAIL/INBOX}; minc -q $d; mlist -t $d | mthread | mseq -S; mscan; } | ||
| 44 | mget() { mbsync -a; msc; } | ||
| 45 | mtt() { echo $MAIL/Trash | xargs mrefile $@; } | ||
| 46 | mta() { echo $MAIL/Archive | xargs mrefile $@; } | ||
| 47 | mpk() { f=$1; shift; mpick -t "$f =~~ \"$@\""; } | ||
| 48 | s() { mshow $@ | templess; } | ||
| 49 | sht() { mshow -A text/html $@; } | ||
| 50 | n() { mshow .+1 | templess; } | ||
| 51 | |||
| 52 | # Comment out the next line when not working regularly with emscripten | ||
| 53 | #EMSDK_QUIET=1 source "$HOME/dev/emsdk/emsdk_env.sh" | ||
| 54 | |||
| 55 | # nissy build options | ||
| 56 | export NISSY_BUILD_SANITIZE="address,undefined" | ||
| 57 | |||
| 58 | # Rust things | ||
| 59 | export RUSTUP_HOME="$HOME/dev/rustup" | ||
| 60 | export CARGO_HOME="$HOME/dev/cargo" | ||
| 61 | export PATH="$CARGO_HOME/bin:$PATH" | ||
| 62 | startrust() { source "$CARGO_HOME/env"; } | ||
| 63 | |||
| 64 | # Session cookies are kept in .ssh | ||
| 65 | . $HOME/.ssh/sessions | ||
