summaryrefslogtreecommitdiff
path: root/.bashrc-local
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2026-05-08 23:55:30 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2026-05-08 23:55:30 +0200
commitc4d0e3de7ad04114797abb14368e4a6f8da04a60 (patch)
tree5ef72a5dfb5f6b1b15c1c3ac3e2e876bb9398ed2 /.bashrc-local
parent453436ee53cd9935473cf1944dd072281d69a99f (diff)
downloadconfig-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
diff --git a/.bashrc-local b/.profile
index b9d9858..03b1379 100644
--- a/.bashrc-local
+++ b/.profile
@@ -1,6 +1,8 @@
1set -o vi 1set -o vi
2 2
3PATH="$HOME/scripts:$PATH"
3PS1="[\h \W] \$ " 4PS1="[\h \W] \$ "
5export LC_COLLATE="C"
4 6
5export HISTCONTROL=ignoredups 7export HISTCONTROL=ignoredups
6export HISTFILE=$HOME/.sh_history 8export 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
10export EDITOR=vi 12export EDITOR=vi
11export VISUAL=vi 13export VISUAL=vi
12export TERMINAL="ptyxis --new-window" 14export XEDIT=xedit
13export XEDIT="gnome-text-editor" 15export NOTIFY=notify
14export NOTIFY=notify-send 16export OPENER=open-file
15export OPENER=xdg-open #or set to open-file from scripts
16export BROWSER=firefox 17export BROWSER=firefox
17export XDG_CONFIG_HOME="$HOME/.config" 18export XDG_CONFIG_HOME="$HOME/.config"
18export XDG_DATA_HOME="$HOME/.local/share" 19export XDG_DATA_HOME="$HOME/.local/share"
19export XDG_CACHE_HOME="$HOME/.cache" 20export XDG_CACHE_HOME="$HOME/.cache"
20export PYTHON_COLORS=0
21
22# Locale overrides
23export LC_COLLATE="C"
24 21
25### Program-specific 22# Program-specific stuff
26export FZF_DEFAULT_OPTS="-e -i -m --no-bold --no-color --layout=reverse-list" 23export FZF_DEFAULT_OPTS="-e -i -m --no-bold --no-color --layout=reverse-list"
27export LYNX_CFG="$XDG_CONFIG_HOME/lynx/lynx.cfg" 24export LYNX_CFG="$XDG_CONFIG_HOME/lynx/lynx.cfg"
28export LYNX_LSS="$XDG_CONFIG_HOME/lynx/lynx.lss" 25export LYNX_LSS="$XDG_CONFIG_HOME/lynx/lynx.lss"
26export PYTHON_COLORS=0
29 27
30### Aliases and functions 28### Aliases and functions
31alias bc='bc -q /home/sebastiano/box/bc.library' 29alias bc='bc -q /home/sebastiano/box/bc.library'
32alias o='xdg-open' 30alias o='open-file'
33alias rm='trash-put' 31alias rm='trash rm'
34alias ls='ls --color=auto' 32alias ls='ls --color=auto'
35alias clip='clip -m fzf' 33alias clip='clip -m fzf'
36alias bm='dmenu-bookmarks -m fzf' 34alias bm='dmenu-bookmarks -m fzf'
@@ -49,17 +47,8 @@ s() { mshow $@ | templess; }
49sht() { mshow -A text/html $@; } 47sht() { mshow -A text/html $@; }
50n() { mshow .+1 | templess; } 48n() { 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
56export NISSY_BUILD_SANITIZE="address,undefined" 51#export NISSY_BUILD_SANITIZE="address,undefined"
57
58# Rust things
59export RUSTUP_HOME="$HOME/dev/rustup"
60export CARGO_HOME="$HOME/dev/cargo"
61export PATH="$CARGO_HOME/bin:$PATH"
62startrust() { 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

Generated with cgit - Back to sebastiano.tronto.net