From b9167a0cac4f458464d6a15da7d890d3419f9a6c Mon Sep 17 00:00:00 2001 From: afonsofrancof Date: Fri, 2 Jun 2023 02:12:36 +0100 Subject: [PATCH 1/2] [MAJOR] Added starship prompt --- .config/fish/config.fish | 3 ++- .config/fish/myfunctions/replacements.fish | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 9464e2d..12e913d 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -1,7 +1,6 @@ if status is-interactive # Commands to run in interactive sessions can go here end - fish_default_key_bindings set -gx EDITOR nvim @@ -17,3 +16,5 @@ source ~/.config/fish/myfunctions/dotfiles.fish source ~/.config/fish/myfunctions/pacman.fish source ~/.config/fish/myfunctions/qol.fish source ~/.config/fish/myfunctions/replacements.fish + +starship init fish | source diff --git a/.config/fish/myfunctions/replacements.fish b/.config/fish/myfunctions/replacements.fish index df45d3d..5bf0da1 100644 --- a/.config/fish/myfunctions/replacements.fish +++ b/.config/fish/myfunctions/replacements.fish @@ -4,6 +4,7 @@ end abbr -a find fd abbr -a df duf abbr -a v nvim +abbr -a lg lazygit function rm echo "rm is disabled, use trash instead" end From 430e2a1c12419f1756de4cdfd3f2e2a47580b6f3 Mon Sep 17 00:00:00 2001 From: afonsofrancof Date: Fri, 2 Jun 2023 02:13:04 +0100 Subject: [PATCH 2/2] [MINOR] added ssh alias for git.olympuslab.net (gon) --- .ssh/config | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.ssh/config b/.ssh/config index 555e099..56bae1c 100644 --- a/.ssh/config +++ b/.ssh/config @@ -1,7 +1,10 @@ IdentityFile ~/.ssh/id_ed25519_sk IdentityFile ~/.ssh/id_ed25519_sk_secondary -Host git.olympuslab.net github.com - ControlMaster auto - ControlPath ~/.ssh/session.%r@%h:%p +Host gon + ControlMaster auto + HostName git.olympuslab.net + User git + Port 522 + ControlPath ~/.ssh/session.%r@%h:%p ControlPersist 5m