feat: separate out .config installations into separate script
This commit is contained in:
parent
3c25755a27
commit
7f4913f942
5
.bin/install-config.sh
Executable file
5
.bin/install-config.sh
Executable file
@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env fish
|
||||
|
||||
fisher install patrickf1/fzf.fish jorgebucaran/autopair.fish gazorby/fish-abbreviation-tips jethrokuan/z
|
||||
echo 'function fish_greeting; fortune; end' >"$HOME"/.config/fish/functions/fish_greeting.fish
|
||||
echo 'starship init fish | source' >"$HOME"/.config/fish/config.fish
|
@ -24,7 +24,5 @@ if ! tmux has-session -t "$SESSION" 2>/dev/null; then
|
||||
tmux new-session -d -s "$SESSION" -n editor 'HOME='"$HOME"' XDG_STATE_HOME='"$HOME/.state"' /usr/bin/fish'
|
||||
fi
|
||||
|
||||
tmux send-keys -t $SESSION:editor 'fisher install jorgebucaran/fisher pure-fish/pure patrickf1/fzf.fish jorgebucaran/autopair.fish gazorby/fish-abbreviation-tips jethrokuan/z' Enter
|
||||
|
||||
# Attach to it
|
||||
exec tmux attach -t "$SESSION"
|
||||
|
Loading…
x
Reference in New Issue
Block a user