mirror of
https://github.com/bvanroll/older-dotfiles.git
synced 2025-08-29 12:02:49 +00:00
kdenk dak het gedaan heb
This commit is contained in:
7
fish/conf.d/omf.fish
Normal file
7
fish/conf.d/omf.fish
Normal 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
20
fish/config.fish
Normal 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
29
fish/fish_variables
Normal 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
|
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