kdenk dak het gedaan heb

This commit is contained in:
2019-04-18 14:27:18 +02:00
parent edd07dc8da
commit f9040101a2
33 changed files with 3639 additions and 0 deletions

7
fish/conf.d/omf.fish Normal file
View File

@@ -0,0 +1,7 @@
# Path to Oh My Fish install.
set -q XDG_DATA_HOME
and set -gx OMF_PATH "$XDG_DATA_HOME/omf"
or set -gx OMF_PATH "$HOME/.local/share/omf"
# Load Oh My Fish configuration.
source $OMF_PATH/init.fish

20
fish/config.fish Normal file
View File

@@ -0,0 +1,20 @@
# Add this to your ~/.config/fish/config.fish
# Syntax:
# To just rerun your last command, simply type '!!'
# '!! sudo' will prepend sudo to your most recent command
# Running !! with anything other than sudo will append the argument to your most recent command
# To add another command to prepend list remove the # on line 10 and put the command in the quotes. Repeat as needed
function !!;
set var (history | head -n 1)
if test $argv
if test $argv = "sudo" #; or "any other command you want to prepend"
eval $argv $var
else
eval $var $argv
end
else
eval $var
end
end
kitty + complete setup fish | source

29
fish/fish_variables Normal file
View File

@@ -0,0 +1,29 @@
# This file contains fish universal variable definitions.
# VERSION: 3.0
SETUVAR __fish_init_2_3_0:\x1d
SETUVAR fish_color_autosuggestion:555\x1ebrblack
SETUVAR fish_color_cancel:\x2dr
SETUVAR fish_color_command:005fd7
SETUVAR fish_color_comment:990000
SETUVAR fish_color_cwd:green
SETUVAR fish_color_cwd_root:red
SETUVAR fish_color_end:009900
SETUVAR fish_color_error:ff0000
SETUVAR fish_color_escape:00a6b2
SETUVAR fish_color_history_current:\x2d\x2dbold
SETUVAR fish_color_host:normal
SETUVAR fish_color_match:\x2d\x2dbackground\x3dbrblue
SETUVAR fish_color_normal:normal
SETUVAR fish_color_operator:00a6b2
SETUVAR fish_color_param:00afff
SETUVAR fish_color_quote:999900
SETUVAR fish_color_redirection:00afff
SETUVAR fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dbrblack
SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack
SETUVAR fish_color_user:brgreen
SETUVAR fish_color_valid_path:\x2d\x2dunderline
SETUVAR fish_greeting:\x1d
SETUVAR fish_key_bindings:fish_default_key_bindings
SETUVAR fish_pager_color_description:B3A06D\x1eyellow
SETUVAR fish_pager_color_prefix:white\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan

View 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
View File

@@ -0,0 +1,3 @@
function c
clear
end

View File

@@ -0,0 +1,3 @@
function fish_greeting
figlet laborwave -f slant | lolcat
end

View File

@@ -0,0 +1 @@
/home/beppe/.local/share/omf/themes/jacaetevha/fish_prompt.fish

3
fish/functions/l.fish Normal file
View File

@@ -0,0 +1,3 @@
function l
lsd
end

7
fish/functions/la.fish Normal file
View 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
View 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
View 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

View File

@@ -0,0 +1,6 @@
function playall
for f in ./*
echo "playing $f"
aplay $f
end
end