fixes more things in fish config
This commit is contained in:
parent
8252ee918b
commit
602685e775
1 changed files with 4 additions and 4 deletions
|
|
@ -25,7 +25,7 @@
|
|||
command fzf
|
||||
'';
|
||||
dev_projects = /* fish */ ''
|
||||
if test "$hn" == "dnsc-work"
|
||||
if test "$hn" = "dnsc-work"
|
||||
begin
|
||||
fd . ~/dev/ride/apps/backend/edge-services -t d -d 1;
|
||||
fd . ~/dev/ride/apps/backend/backend-services -t d -d 1;
|
||||
|
|
@ -74,7 +74,7 @@
|
|||
|
||||
set -l session_name (basename $selected)
|
||||
|
||||
if "$ZELLIJ" == 0
|
||||
if test $ZELLIJ -eq 0
|
||||
zellij pipe --plugin file:${pkgs.zellij-switch}/bin/zellij-switch.wasm -- "--session $session_name --cwd $selected --layout default"
|
||||
else
|
||||
zellij attach "$session_name" --create
|
||||
|
|
@ -183,7 +183,7 @@
|
|||
fish_add_path /run/wrappers/bin
|
||||
fish_add_path /run/current-system/sw/bin
|
||||
|
||||
if $uname == "Darwin"
|
||||
if test "$uname" = "Darwin"
|
||||
setup_homebrew
|
||||
end
|
||||
'';
|
||||
|
|
@ -212,7 +212,7 @@
|
|||
setup_env
|
||||
setup_path
|
||||
|
||||
if test "$hn" == "dnsc-work"
|
||||
if test "$hn" = "dnsc-work"
|
||||
setup_work
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue