From 1c5dd5bd9c4df69fabec6b8c4016c09751d69a40 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Mon, 27 May 2024 18:51:12 +0200 Subject: [PATCH] fish: adding aliases --- fish/functions/lgit.fish | 4 ++++ fish/functions/ll.fish | 4 ++++ fish/functions/ls.fish | 4 ++++ fish/functions/vim.fish | 4 ++++ 4 files changed, 16 insertions(+) create mode 100644 fish/functions/lgit.fish create mode 100644 fish/functions/ll.fish create mode 100644 fish/functions/ls.fish create mode 100644 fish/functions/vim.fish diff --git a/fish/functions/lgit.fish b/fish/functions/lgit.fish new file mode 100644 index 0000000..3e14ca2 --- /dev/null +++ b/fish/functions/lgit.fish @@ -0,0 +1,4 @@ +function lgit --wraps=lazygit --description 'alias lgit lazygit' + lazygit $argv + +end diff --git a/fish/functions/ll.fish b/fish/functions/ll.fish new file mode 100644 index 0000000..83d246f --- /dev/null +++ b/fish/functions/ll.fish @@ -0,0 +1,4 @@ +function ll --wraps=ls --wraps='eza -l --git' --wraps='eza --icons=always -l --git' --description 'alias ll eza --icons=always -l --git' + eza --icons=always -l --git $argv + +end diff --git a/fish/functions/ls.fish b/fish/functions/ls.fish new file mode 100644 index 0000000..5156b6e --- /dev/null +++ b/fish/functions/ls.fish @@ -0,0 +1,4 @@ +function ls --wraps=eza --description 'alias ls eza' + eza $argv + +end diff --git a/fish/functions/vim.fish b/fish/functions/vim.fish new file mode 100644 index 0000000..67df688 --- /dev/null +++ b/fish/functions/vim.fish @@ -0,0 +1,4 @@ +function vim --wraps=nvim --description 'alias vim nvim' + nvim $argv + +end