From 2eb839dcdd509e2dbc584ebd57a4d7dd880b8eee Mon Sep 17 00:00:00 2001 From: Seth Flynn Date: Mon, 1 Nov 2021 13:18:25 -0400 Subject: add fish shell config --- bin/.local/bin/gamemount | 3 +++ bin/.local/bin/prm | 3 --- shells/.config/fish/config.fish | 3 +++ shells/.config/fish/functions/ls.fish | 3 +++ shells/.config/fish/functions/vim.fish | 3 +++ 5 files changed, 12 insertions(+), 3 deletions(-) create mode 100755 bin/.local/bin/gamemount delete mode 100755 bin/.local/bin/prm create mode 100644 shells/.config/fish/config.fish create mode 100644 shells/.config/fish/functions/ls.fish create mode 100644 shells/.config/fish/functions/vim.fish diff --git a/bin/.local/bin/gamemount b/bin/.local/bin/gamemount new file mode 100755 index 0000000..4a45539 --- /dev/null +++ b/bin/.local/bin/gamemount @@ -0,0 +1,3 @@ +#!/bin/sh + +sudo mount -o "uid=1000,gid=1000,rw,user,exec,umask=000 0 0" /dev/sdc2 /mnt diff --git a/bin/.local/bin/prm b/bin/.local/bin/prm deleted file mode 100755 index 5fb23d7..0000000 --- a/bin/.local/bin/prm +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -sudo pacman -Rns $(pacman -Qtdq) diff --git a/shells/.config/fish/config.fish b/shells/.config/fish/config.fish new file mode 100644 index 0000000..c0749b6 --- /dev/null +++ b/shells/.config/fish/config.fish @@ -0,0 +1,3 @@ +#!/bin/fish + +starship init fish | source diff --git a/shells/.config/fish/functions/ls.fish b/shells/.config/fish/functions/ls.fish new file mode 100644 index 0000000..9d08de4 --- /dev/null +++ b/shells/.config/fish/functions/ls.fish @@ -0,0 +1,3 @@ +function ls + exa $argv +end diff --git a/shells/.config/fish/functions/vim.fish b/shells/.config/fish/functions/vim.fish new file mode 100644 index 0000000..f0a542e --- /dev/null +++ b/shells/.config/fish/functions/vim.fish @@ -0,0 +1,3 @@ +function vim + nvim $argv +end -- cgit v1.2.3