mirror of https://github.com/Chizi123/Dotfiles.git

Joel Grunbaum
2025-02-02 91c55ffeff49ee1d2beb95faf9b301fe2c65348c
all-shells/commonshell
@@ -18,7 +18,7 @@
   find ${1:-'.'} -type f -print | sed -E -n 's/.+(\..*)$/\1/pi' | sort | uniq -c | sort -g
}
alias pip-upgrade="python -m pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1  | xargs -n1 python -m pip install -U"
alias pip-upgrade="pip --disable-pip-version-check list --outdated --format=json | python -c \"import json, sys; print('\n'.join([x['name'] for x in json.load(sys.stdin)]))\" | xargs -n1 pip install -U"
#export EDITOR="/usr/bin/emacsclient -nw -a /usr/bin/vim"
#alias ec=$EDITOR
@@ -34,15 +34,12 @@
[ -r /usr/bin/ruby ] && PATH="$PATH:$(ruby -e 'puts Gem.user_dir')/bin"
[ -d ~/.cargo ] && PATH="$PATH:$HOME/.cargo/bin"
# wsl display settings
if [ -n "$(uname -a | grep -i 'microsoft')" ]; then
   export DISPLAY=$(ip route | awk '{print $3; exit}'):0
   export LIBGL_ALWAYS_INDIRECT=1
fi
# acme.sh
[ -f "${HOME}/.acme.sh/acme.sh.env" ] && source ~/.acme.sh/acme.sh.env
# Firefox wayland
[ "$XDG_SESSION_TYPE" = "wayland" ] && export MOZ_ENABLE_WAYLAND=1
# Update dotfiles
(git -C ~/.dotfiles pull &) &>/dev/null
[ -d ~/.emacs.d ] && (git -C ~/.emacs.d pull &) &>/dev/null