mirror of
https://github.com/bvanroll/older-dotfiles.git
synced 2025-09-01 21:42:39 +00:00
kdenk dak het gedaan heb
This commit is contained in:
17
fish/functions/audition.fish
Normal file
17
fish/functions/audition.fish
Normal file
@@ -0,0 +1,17 @@
|
||||
function audition
|
||||
read -n 1 -p 'echo "this program will audition every file in this folder via aplay and ask you if its usable or not, ctrl c now to exit"'; mkdir usable; mkdir unusable; for f in ./*
|
||||
aplay $f
|
||||
set y "r"
|
||||
while [ $y = "r" ]
|
||||
read -n 1 -P 'echo "usable or no? (y,n,r)"' y
|
||||
if [ $y = "r" ]
|
||||
aplay $f
|
||||
end
|
||||
end
|
||||
if [ $y = "y" ]
|
||||
cp $f "usable/$f"
|
||||
else
|
||||
cp $f "unusable/$f"
|
||||
end
|
||||
end
|
||||
end
|
3
fish/functions/c.fish
Normal file
3
fish/functions/c.fish
Normal file
@@ -0,0 +1,3 @@
|
||||
function c
|
||||
clear
|
||||
end
|
3
fish/functions/fish_greeting.fish
Normal file
3
fish/functions/fish_greeting.fish
Normal file
@@ -0,0 +1,3 @@
|
||||
function fish_greeting
|
||||
figlet laborwave -f slant | lolcat
|
||||
end
|
1
fish/functions/fish_prompt.fish
Symbolic link
1
fish/functions/fish_prompt.fish
Symbolic link
@@ -0,0 +1 @@
|
||||
/home/beppe/.local/share/omf/themes/jacaetevha/fish_prompt.fish
|
3
fish/functions/l.fish
Normal file
3
fish/functions/l.fish
Normal file
@@ -0,0 +1,3 @@
|
||||
function l
|
||||
lsd
|
||||
end
|
7
fish/functions/la.fish
Normal file
7
fish/functions/la.fish
Normal file
@@ -0,0 +1,7 @@
|
||||
function la --description 'list all files'
|
||||
if count $argv > /dev/null
|
||||
lsd -a $argv
|
||||
else
|
||||
lsd -a
|
||||
end
|
||||
end
|
7
fish/functions/lla.fish
Normal file
7
fish/functions/lla.fish
Normal file
@@ -0,0 +1,7 @@
|
||||
function lla --description 'like la but with a list view'
|
||||
if count $argv > /dev/null
|
||||
lsd -la $argv
|
||||
else
|
||||
lsd -la
|
||||
end
|
||||
end
|
7
fish/functions/lt.fish
Normal file
7
fish/functions/lt.fish
Normal file
@@ -0,0 +1,7 @@
|
||||
function lt --description 'list all tree view'
|
||||
if count $argv > /dev/null
|
||||
lsd -a --tree $argv
|
||||
else
|
||||
lsd -a --tree
|
||||
end
|
||||
end
|
6
fish/functions/playall.fish
Normal file
6
fish/functions/playall.fish
Normal file
@@ -0,0 +1,6 @@
|
||||
function playall
|
||||
for f in ./*
|
||||
echo "playing $f"
|
||||
aplay $f
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user