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 '')
| -rw-r--r-- | .profile (renamed from .bashrc-local) | 33 |
1 files changed, 11 insertions, 22 deletions
| @@ -1,6 +1,8 @@ | |||
| 1 | set -o vi | 1 | set -o vi |
| 2 | 2 | ||
| 3 | PATH="$HOME/scripts:$PATH" | ||
| 3 | PS1="[\h \W] \$ " | 4 | PS1="[\h \W] \$ " |
| 5 | export LC_COLLATE="C" | ||
| 4 | 6 | ||
| 5 | export HISTCONTROL=ignoredups | 7 | export HISTCONTROL=ignoredups |
| 6 | export HISTFILE=$HOME/.sh_history | 8 | export HISTFILE=$HOME/.sh_history |
| @@ -9,28 +11,24 @@ export HISTSIZE=10000 | |||
| 9 | # Standard stuff and variables for my scripts | 11 | # Standard stuff and variables for my scripts |
| 10 | export EDITOR=vi | 12 | export EDITOR=vi |
| 11 | export VISUAL=vi | 13 | export VISUAL=vi |
| 12 | export TERMINAL="ptyxis --new-window" | 14 | export XEDIT=xedit |
| 13 | export XEDIT="gnome-text-editor" | 15 | export NOTIFY=notify |
| 14 | export NOTIFY=notify-send | 16 | export OPENER=open-file |
| 15 | export OPENER=xdg-open #or set to open-file from scripts | ||
| 16 | export BROWSER=firefox | 17 | export BROWSER=firefox |
| 17 | export XDG_CONFIG_HOME="$HOME/.config" | 18 | export XDG_CONFIG_HOME="$HOME/.config" |
| 18 | export XDG_DATA_HOME="$HOME/.local/share" | 19 | export XDG_DATA_HOME="$HOME/.local/share" |
| 19 | export XDG_CACHE_HOME="$HOME/.cache" | 20 | export XDG_CACHE_HOME="$HOME/.cache" |
| 20 | export PYTHON_COLORS=0 | ||
| 21 | |||
| 22 | # Locale overrides | ||
| 23 | export LC_COLLATE="C" | ||
| 24 | 21 | ||
| 25 | ### Program-specific | 22 | # Program-specific stuff |
| 26 | export FZF_DEFAULT_OPTS="-e -i -m --no-bold --no-color --layout=reverse-list" | 23 | export FZF_DEFAULT_OPTS="-e -i -m --no-bold --no-color --layout=reverse-list" |
| 27 | export LYNX_CFG="$XDG_CONFIG_HOME/lynx/lynx.cfg" | 24 | export LYNX_CFG="$XDG_CONFIG_HOME/lynx/lynx.cfg" |
| 28 | export LYNX_LSS="$XDG_CONFIG_HOME/lynx/lynx.lss" | 25 | export LYNX_LSS="$XDG_CONFIG_HOME/lynx/lynx.lss" |
| 26 | export PYTHON_COLORS=0 | ||
| 29 | 27 | ||
| 30 | ### Aliases and functions | 28 | ### Aliases and functions |
| 31 | alias bc='bc -q /home/sebastiano/box/bc.library' | 29 | alias bc='bc -q /home/sebastiano/box/bc.library' |
| 32 | alias o='xdg-open' | 30 | alias o='open-file' |
| 33 | alias rm='trash-put' | 31 | alias rm='trash rm' |
| 34 | alias ls='ls --color=auto' | 32 | alias ls='ls --color=auto' |
| 35 | alias clip='clip -m fzf' | 33 | alias clip='clip -m fzf' |
| 36 | alias bm='dmenu-bookmarks -m fzf' | 34 | alias bm='dmenu-bookmarks -m fzf' |
| @@ -49,17 +47,8 @@ s() { mshow $@ | templess; } | |||
| 49 | sht() { mshow -A text/html $@; } | 47 | sht() { mshow -A text/html $@; } |
| 50 | n() { mshow .+1 | templess; } | 48 | n() { mshow .+1 | templess; } |
| 51 | 49 | ||
| 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 | 50 | # nissy build options |
| 56 | export NISSY_BUILD_SANITIZE="address,undefined" | 51 | #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 | 52 | ||
| 64 | # Session cookies are kept in .ssh | 53 | # Session cookies are kept in .ssh |
| 65 | . $HOME/.ssh/sessions | 54 | [ -f $HOME/.ssh/sessions ] && . $HOME/.ssh/sessions |
