diff options
author | Tyler Davis <tyler@gluecode.net> | 2024-05-16 04:22:45 +0000 |
---|---|---|
committer | Tyler Davis <tyler@gluecode.net> | 2024-05-16 04:22:45 +0000 |
commit | 528815b7680e64904e83a10bbd34cd59908ad57a (patch) | |
tree | c66ff28183dac6ede64d709e5c020f67f3c04d6c /.profile | |
parent | ea855bf657ba5c540e8c322714d432697bf09343 (diff) | |
download | dotfiles-528815b7680e64904e83a10bbd34cd59908ad57a.tar.gz dotfiles-528815b7680e64904e83a10bbd34cd59908ad57a.zip |
more BSD cleanup
Diffstat (limited to '.profile')
-rw-r--r-- | .profile | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -53,7 +53,7 @@ Linux) alias ll="/bin/ls -F -h -A -l" set -o emacs set -o tabcomplete - export PATH=$PATH:$HOME/.local/bin + export PATH=$PATH:/sbin:$HOME/.local/bin ;; esac @@ -62,13 +62,15 @@ if [ -d "$HOME/.golang" ]; then ### Just in case it's missing mkdir -p ~/.golang/path # Go in the homedir - export GOROOT_BOOTSTRAP=$HOME/.golang/bootstrap_go - export GOROOT=$HOME/.golang/go + if [ -d "$HOME/.golang/go" ]; then + export GOROOT_BOOTSTRAP=$HOME/.golang/bootstrap_go + export GOROOT=$HOME/.golang/go + fi export GOPATH=$HOME/.golang/path # Disable broken caching by proxy.golang export GOPROXY=direct export GOSUMDB=off - export PATH=$HOME/.golang/go/bin:$PATH:$HOME/.cargo/bin:$HOME/.golang/path/bin:$HOME/.local/bin + export PATH=$HOME/.golang/go/bin:$PATH:$HOME/.golang/path/bin fi # == Editors == @@ -94,7 +96,8 @@ export LESS=FRX # Defaults alias dua='du -h -d 1 | sort -h' -alias upcode="find ~/.code -name \".git\" -exec fetchgit {} \;" +alias upcode="find $HOME/.code -name \".git\" -exec fetchgit {} \;" +alias gc_all="find $HOME/.code -name \".git\" | xargs -I {} -n 1 bash -c \"cd {}; echo {}; git gc --aggressive;\" " ## Zstd always uses all cores if [ "$(command -v zstd)" ]; then @@ -110,7 +113,6 @@ if [ -d "$HOME/.cargo/bin" ]; then export PATH=$HOME/.cargo/bin:$PATH fi -alias gc_all="find ~/.code -name \".git\" | xargs -I {} -n 1 bash -c \"cd {}; echo {}; git gc --aggressive;\" " # == END TOOLS == ## == DOTFILES == |