Some updates
This commit is contained in:
@@ -6,11 +6,11 @@ if [ -f $1 ]; then
|
||||
return 1
|
||||
fi
|
||||
|
||||
BACKUP_PATH=~/.vim/backups/`echo $PWD/$1 | tr '/' '%'`
|
||||
backup_path=~/.config/nvim/backups/`echo $PWD/$1 | tr '/' '%'`
|
||||
|
||||
if [ ! -f "$BACKUP_PATH" ]; then
|
||||
if [ ! -f "$backup_path" ]; then
|
||||
echo >&2 Backup not found...
|
||||
return 2
|
||||
fi
|
||||
|
||||
cp $BACKUP_PATH $1
|
||||
cp $backup_path $1
|
||||
|
||||
@@ -18,6 +18,12 @@ if [ -d $HOME/.cargo ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
# Wasmer path
|
||||
if [ -d $HOME/.wasmer ]; then
|
||||
export WASMER_DIR="$HOME/.wasmer"
|
||||
[ -s "$WASMER_DIR/wasmer.sh" ] && source "$WASMER_DIR/wasmer.sh" # This loads wasmer
|
||||
fi
|
||||
|
||||
# Node path
|
||||
if [ -d $HOME/.npmbin ]; then
|
||||
export PATH=$HOME/.npmbin/bin:$PATH
|
||||
|
||||
Reference in New Issue
Block a user