some changes
This commit is contained in:
parent
3697e1545d
commit
9739245fce
2 changed files with 5 additions and 4 deletions
|
@ -6,13 +6,13 @@
|
|||
# ╰───────────────────────────────────╯
|
||||
|
||||
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
|
||||
else
|
||||
# ─< define plugins to use with fisher >────────────────────────────────────────────────────
|
||||
set plugin "PatrickF1/fzf.fish" "jorgebucaran/autopair.fish"
|
||||
for plug in $plugin
|
||||
fisher update $plu || fisher install $plug
|
||||
fisher update $plug || fisher install $plug
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -20,3 +20,4 @@ end
|
|||
|
||||
function plugins_fisher
|
||||
end
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
if command -v tmux 2>&1
|
||||
if command -v tmux /dev/null 2>&1
|
||||
function ta
|
||||
command tmux list-sessions 2>&1
|
||||
command tmux list-sessions /dev/null 2>&1
|
||||
switch $status
|
||||
case '0'
|
||||
tmux a
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue