.sh

[sh] Multi-shell dotfiles manager
git clone https://git.torresjrjr.com/.sh.git
Log | Files | Refs | README | LICENSE

commit 83b0fbae5a27658f5b3018c4cdd581cafa7af197
parent 6c65534d279561d1418d426ec5fdbaf450ddb68e
Author: Byron Torres <b@torresjrjr.com>
Date:   Thu, 26 May 2022 21:29:38 +0100

.profile: add PYTHONSTARTUP

    # ~/.config/python/pythonrc
    # to disable logging to ~/.python_history
    # https://stackoverflow.com/questions/62063414/how-to-disable-python-history-saving#63653039
    import readline
    readline.write_history_file = lambda *args: None

Diffstat:
Msh/.profile | 13++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/sh/.profile b/sh/.profile @@ -10,11 +10,13 @@ ## Env # shell + export DOTSHELL="$HOME/.sh" export ENV="$DOTSHELL/sh/.init.sh" # see sh(1) export INPUTRC="$DOTSHELL/misc/.inputrc" # system + export PATH="$HOME/.local/bin:$PATH" export PATH="$DOTSHELL/bin:$PATH" export PATH="$HOME/lib/bin:$PATH" @@ -25,13 +27,18 @@ export XDG_CONFIG_HOME="$HOME/.config" export XDG_CACHE_HOME="$HOME/.cache" export XDG_DATA_HOME="$HOME/.local/share" +export EDITOR='vim' +export PAGER='less' + +# dev + export GOPATH="$HOME/lib/go" export GOPROXY='direct' -export EDITOR='vim' -export PAGER='less' +export PYTHONSTARTUP="$XDG_CONFIG_HOME/python/pythonrc" + +# utils -# programs export LESSHISTFILE="$XDG_CACHE_HOME/less/lesshst" export PASSWORD_STORE_DIR="$HOME/.pass"