all repos — dotfiles @ bf9efa9096d1fb19131f8ab052ea27ad8bc3bf0a

linux dotfiles

bash: add an alias and remove pyenv shell stuff
Prithu Goswami pg@prithu.dev
Tue, 17 Dec 2024 20:29:43 +0530
commit

bf9efa9096d1fb19131f8ab052ea27ad8bc3bf0a

parent

8f9992dadb96576fa1150596ef6e646230f9d915

1 files changed, 14 insertions(+), 1 deletions(-)

jump to
M home/.bashrchome/.bashrc

@@ -113,6 +113,7 @@ alias qrclip="xsel -ob | qrencode -o - | feh --force-aliasing -Z -"

alias b="buku --suggest" #alias lncli="lncli -n testnet" +alias gr="cd \`git rev-parse --show-toplevel\`" #alias ls='ls'

@@ -154,7 +155,7 @@ HISTCONTROL=ingoreboth

HISTSIZE=100000000 HISTFILESIZE=100000000 PROMPT_COMMAND='history -a' -HISTIGNORE='ls:bg:fg:history:cd:rm' +HISTIGNORE='ls:bg:fg:history:cd:rm:gr' slugen () { # generate a slug of alphabets

@@ -171,3 +172,15 @@ complete -C /usr/bin/terraform terraform

[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion source /home/prithu/.config/broot/launcher/bash/br +# # Load pyenv automatically by appending +# # the following to +# # ~/.bash_profile if it exists, otherwise ~/.profile (for login shells) +# # and ~/.bashrc (for interactive shells) : +# +# export PYENV_ROOT="$HOME/.pyenv" +# [[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH" +# eval "$(pyenv init -)" +# +# # Restart your shell for the changes to take effect. +# +# This thing slows the prompt find out why. is the eval line?