diff --git a/aliases.sh b/aliases.sh index 765c6c8..70d2c9e 100644 --- a/aliases.sh +++ b/aliases.sh @@ -66,10 +66,6 @@ smartresize() { mogrify -path "$3" -filter Triangle -define filter:support=2 -thumbnail "$2" -unsharp 0.25x0.08+8.3+0.045 -dither None -posterize 136 -quality 82 -define jpeg:fancy-upsampling=off -define png:compression-filter=5 -define png:compression-level=9 -define png:compression-strategy=1 -define png:exclude-chunk=all -interlace none -colorspace sRGB "$1" } -re() { - git clone ssh://git@git.rayelliott.dev:3222/rayelliott/"$1".git $2 -} - mc() { mkdir "$1" && cd "$1" } diff --git a/profile b/profile index 0d2a11d..c8bf6d0 100644 --- a/profile +++ b/profile @@ -1,11 +1,10 @@ -export SHELL_CONFIG="$SHELL_CONFIG:.profile" export EDITOR=/usr/bin/vim export BROWSER=/usr/bin/qutebrowser -ruby_path=$(ruby -r rubygems -e "puts Gem.user_dir")/bin -yarn_path=$(yarn global bin) - -export PATH="$HOME/.bin:$HOME/.local/bin:$yarn_path:$ruby_path:$PATH" +export PATH=~/.npm-global/bin:$PATH +ruby_path=$(ruby -r rubygems -e "puts Gem.user_dir") +export PATH=$ruby_path/bin:$PATH +export PATH=~/.bin:~/.bin/bin:~/.local/bin:$PATH # https://developers.google.com/web/tools/puppeteer/troubleshooting export CHROME_DEVEL_SANDBOX=/usr/lib/chromium/chrome-sandbox @@ -24,11 +23,11 @@ stty -ixon export AUTOENV_ENV_FILENAME=.in export AUTOENV_ENV_LEAVE_FILENAME=.out export AUTOENV_ENABLE_LEAVE=1 -[ -f "$HOME/.src/autoenv/activate.sh" ] && . "$HOME/.src/autoenv/activate.sh" +source "$HOME/.src/autoenv/activate.sh" # custom aliases [ -f "$HOME/.config/profile/aliases.sh" ] && . "$HOME/.config/profile/aliases.sh" -[ -f "$HOME/.config/broot/launcher/bash/br" ] && . /home/ray/.config/broot/launcher/bash/br +[ -f "$HOME/.config/broot/launcher/bash/br" ] && source /home/ray/.config/broot/launcher/bash/br # vim: filetype=sh