Random things...
This commit is contained in:
parent
d4cd3cc942
commit
bb39d27d8e
9 changed files with 2075 additions and 2 deletions
8
.config/fish/functions/dnu.fish
Normal file
8
.config/fish/functions/dnu.fish
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
function dnu --description "wraps the dnu bash script"
|
||||
if test -e ~/.dnx/dnvm/dnvm.sh
|
||||
set dnx ~/.dnx/dnvm/dnvm.sh
|
||||
else if test -e /usr/local/bin/dnvm.sh
|
||||
set dnx /usr/local/bin/dnvm.sh
|
||||
end
|
||||
bash -c ". $dnx && dnu $argv"
|
||||
end
|
||||
8
.config/fish/functions/dnvm.fish
Normal file
8
.config/fish/functions/dnvm.fish
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
function dnvm --description "wraps the dnvm.sh bash script"
|
||||
if test -e ~/.dnx/dnvm/dnvm.sh
|
||||
set dnx ~/.dnx/dnvm/dnvm.sh
|
||||
else if test -e /usr/local/bin/dnvm.sh
|
||||
set dnx /usr/local/bin/dnvm.sh
|
||||
end
|
||||
bash -c ". $dnx && dnvm $argv"
|
||||
end
|
||||
8
.config/fish/functions/dnx.fish
Normal file
8
.config/fish/functions/dnx.fish
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
function dnx --description "wraps the dnx bash script"
|
||||
if test -e ~/.dnx/dnvm/dnvm.sh
|
||||
set dnx ~/.dnx/dnvm/dnvm.sh
|
||||
else if test -e /usr/local/bin/dnvm.sh
|
||||
set dnx /usr/local/bin/dnvm.sh
|
||||
end
|
||||
bash -c ". $dnx && dnx $argv"
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue