some changes

This commit is contained in:
PieckA 2024-05-25 00:01:21 +02:00
parent 3697e1545d
commit 9739245fce
2 changed files with 5 additions and 4 deletions

View file

@ -6,13 +6,13 @@
# ╰───────────────────────────────────╯ # ╰───────────────────────────────────╯
function check_fisher function check_fisher
if [[ ! -e $HOME/.config/fish/functions/fisher.fish ]] if [ ! -f $HOME/.config/fish/functions/fisher.fish ]
curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher
else else
# ─< define plugins to use with fisher >──────────────────────────────────────────────────── # ─< define plugins to use with fisher >────────────────────────────────────────────────────
set plugin "PatrickF1/fzf.fish" "jorgebucaran/autopair.fish" set plugin "PatrickF1/fzf.fish" "jorgebucaran/autopair.fish"
for plug in $plugin for plug in $plugin
fisher update $plu || fisher install $plug fisher update $plug || fisher install $plug
end end
end end
end end
@ -20,3 +20,4 @@ end
function plugins_fisher function plugins_fisher
end end

View file

@ -1,6 +1,6 @@
if command -v tmux 2>&1 if command -v tmux /dev/null 2>&1
function ta function ta
command tmux list-sessions 2>&1 command tmux list-sessions /dev/null 2>&1
switch $status switch $status
case '0' case '0'
tmux a tmux a