all repos

dotfiles @ 9de04a3

my dotfiles
2 files changed, 7 insertions(+), 1 deletions(-)
fish: remove pnpm path, add envsource function
Author: Smirnov Oleksandr ss2316544@gmail.com
Committed at: 2022-08-25 14:52:25 +0300
Parent: e18bf62
M config/fish/config.fish

@@ -9,7 +9,6 @@ set -g PATH $HOME/.golang/bin $PATH

set -g PATH $HOME/.yarn/bin $PATH set -g PATH $HOME/.cargo/bin $PATH set -g PATH $HOME/.bun/bin $PATH -set -g PATH $HOME/.local/share/pnpm $PATH if status is-interactive set fish_greeting
A config/fish/functions/envsource.fish

@@ -0,0 +1,7 @@

+function envsource + for line in (cat $argv | grep -v '^#') + set item (string split -m 1 '=' $line) + set -gx $item[1] $item[2] + echo "Exported key $item[1]" + end +end