mirror of
https://github.com/wahyd4/gvm.git
synced 2026-08-28 22:26:23 +10:00
Seeing if this makes the experience with $PATH more like I'd expect
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
function gvm_export_path() {
|
||||
export PATH="$GVM_ROOT/bin:`echo "$PATH" | tr ":" "\n" | grep -v '^$' | egrep -v "$GVM_ROOT/(pkgsets|gos|bin)" | tr "\n" ":" | sed 's/:*$//'`"
|
||||
export GVM_PATH_BACKUP="$PATH"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user