configuring

This commit is contained in:
Matt Nish-Lapidus 2024-09-24 23:26:29 -04:00
parent a4261e3b86
commit ff513ecd10
10 changed files with 417 additions and 4 deletions

View file

@ -0,0 +1,8 @@
function fish_greeting
status --is-login
if [ $status = 0 ]
if which figlet > /dev/null
figlet -f "/Users/emenel/.local/flf/wavy.flf" "welcome"
end
end
end

View file

@ -0,0 +1,3 @@
function la --description 'alias ls -la'
ls -la $argv
end

View file

@ -0,0 +1,4 @@
function lg --wraps=lazygit --description 'alias lg=lazygit'
lazygit $argv
end

View file

@ -0,0 +1,3 @@
function ll --description 'alias ls -l'
ls -l $argv
end

View file

@ -0,0 +1,7 @@
function ls --wraps=eza --description 'eza instead of ls'
if type --quiet eza
eza --git --header --icons $argv
else
command ls --color=auto $argv
end
end

View file

@ -0,0 +1,10 @@
function pullall
for dir in *
if test -d $dir
cd $dir
echo "---- " $dir "----"
git pull
cd ..
end
end
end

View file

@ -0,0 +1,4 @@
function sbcl --description 'alias sbcl=rlwrap sbcl'
rlwrap sbcl $argv
end