Skip to content
Snippets Groups Projects
Commit 00244fc2 authored by Recolic's avatar Recolic :house_with_garden:
Browse files

.bugfix for new fish 4.x

parent b5e983ad
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
# v1.04.202412
function list_possible_nodename
set nextcloud_root $HOME/?ext?loud
set nextcloud_root $HOME/(ls $HOME | grep -i nextcloud | head -n1)
set possible_path $nextcloud_root/workspace/impl/proxy/comm100-nodes/
# echo ss
ls $possible_path/*.json | sed 's|^.*/||g' | sed 's/.json//g'
......@@ -66,7 +66,7 @@ set node $argv[1]
set port $argv[2]
set mypath (dirname (status --current-filename))
set nextcloud_root $HOME/?ext?loud
set nextcloud_root $HOME/(ls $HOME | grep -i nextcloud | head -n1)
set possible_path $nextcloud_root/workspace/impl/proxy/comm100-nodes/$node.json
if test -f $node
echo "Using $node..."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment