configuring
This commit is contained in:
parent
a4261e3b86
commit
ff513ecd10
10 changed files with 417 additions and 4 deletions
8
dotfiles/dot_config/fish/functions/fish_greeting.fish
Normal file
8
dotfiles/dot_config/fish/functions/fish_greeting.fish
Normal 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
|
3
dotfiles/dot_config/fish/functions/la.fish
Normal file
3
dotfiles/dot_config/fish/functions/la.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function la --description 'alias ls -la'
|
||||
ls -la $argv
|
||||
end
|
4
dotfiles/dot_config/fish/functions/lg.fish
Normal file
4
dotfiles/dot_config/fish/functions/lg.fish
Normal file
|
@ -0,0 +1,4 @@
|
|||
function lg --wraps=lazygit --description 'alias lg=lazygit'
|
||||
lazygit $argv
|
||||
|
||||
end
|
3
dotfiles/dot_config/fish/functions/ll.fish
Normal file
3
dotfiles/dot_config/fish/functions/ll.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function ll --description 'alias ls -l'
|
||||
ls -l $argv
|
||||
end
|
7
dotfiles/dot_config/fish/functions/ls.fish
Normal file
7
dotfiles/dot_config/fish/functions/ls.fish
Normal 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
|
10
dotfiles/dot_config/fish/functions/pullall.fish
Normal file
10
dotfiles/dot_config/fish/functions/pullall.fish
Normal file
|
@ -0,0 +1,10 @@
|
|||
function pullall
|
||||
for dir in *
|
||||
if test -d $dir
|
||||
cd $dir
|
||||
echo "---- " $dir "----"
|
||||
git pull
|
||||
cd ..
|
||||
end
|
||||
end
|
||||
end
|
4
dotfiles/dot_config/fish/functions/sbcl.fish
Normal file
4
dotfiles/dot_config/fish/functions/sbcl.fish
Normal file
|
@ -0,0 +1,4 @@
|
|||
function sbcl --description 'alias sbcl=rlwrap sbcl'
|
||||
rlwrap sbcl $argv
|
||||
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue