eza x2
This commit is contained in:
@@ -21,8 +21,9 @@ set -gx CLIPPY_CONF_DIR $XDG_DATA_HOME/cargo/
|
|||||||
set -gx fish_user_paths ~/.local/bin $CARGO_HOME/bin
|
set -gx fish_user_paths ~/.local/bin $CARGO_HOME/bin
|
||||||
|
|
||||||
# -agx is a bad idea as login shell itself also does it
|
# -agx is a bad idea as login shell itself also does it
|
||||||
set -gx WINEPATH /usr/x86_64-w64-mingw32/bin
|
# set -gx WINEPATH /usr/x86_64-w64-mingw32/bin
|
||||||
# set -gx CPATH /usr/x86_64-w64-mingw32/include
|
# set -gx CPATH /usr/x86_64-w64-mingw32/include
|
||||||
|
set -gx WINEPATH /opt/llvm-mingw/x86_64-w64-mingw32/bin/
|
||||||
|
|
||||||
set -gx BROWSER librewolf # for fish documentation mainly
|
set -gx BROWSER librewolf # for fish documentation mainly
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
function chat --wraps='ollama run --nowordwrap' --description 'Run an llm without history'
|
function chat --wraps 'ollama run --nowordwrap' --description 'Run an llm without history'
|
||||||
OLLAMA_NOHISTORY=y ollama run --nowordwrap $argv
|
OLLAMA_NOHISTORY=y ollama run --nowordwrap $argv
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
function la --wraps 'ls' --description 'List all files in directory using verbose format'
|
function la --wraps ls --description 'List all files in directory using verbose format'
|
||||||
ls -lAh --group-directories-first $argv
|
ll -A --group-directories-first $argv
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -1,3 +1,9 @@
|
|||||||
function ll --wraps 'ls' --description 'List contents of directory using long format'
|
if command -q eza
|
||||||
ls -lh --group-directories-first $argv
|
function ll --wraps ls --description 'List contents of directory using long format'
|
||||||
|
ls -l $argv
|
||||||
|
end
|
||||||
|
else
|
||||||
|
function ll --wraps ls --description 'List contents of directory using long format'
|
||||||
|
ls -lh --group-directories-first $argv
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -0,0 +1,10 @@
|
|||||||
|
if command -q eza
|
||||||
|
set -gx EZA_MIN_LUMINANCE 60
|
||||||
|
function ls --wraps eza
|
||||||
|
command eza -w 80 --icons --group-directories-last \
|
||||||
|
--color-scale -g --smart-group --time-style '+%g.%m.%d
|
||||||
|
%m.%d %H:%M' -M $argv
|
||||||
|
end
|
||||||
|
else
|
||||||
|
status get-file functions/ls.fish | source
|
||||||
|
end
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
function remux --wraps=ffmpeg --description 'remux to mp4'
|
function remux --wraps ffmpeg --description 'remux to mp4'
|
||||||
mkdir -p /tmp/remux
|
mkdir -p /tmp/remux
|
||||||
|
|
||||||
# download file if input path is a url
|
# download file if input path is a url
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
if command -q eza
|
if command -q eza
|
||||||
function tree --wraps='eza'
|
function tree --wraps eza
|
||||||
command eza -T --group-directories-last $argv
|
ls -T $argv
|
||||||
end
|
end
|
||||||
else if command -q tree
|
else if command -q tree
|
||||||
function tree
|
function tree
|
||||||
|
|||||||
@@ -279,8 +279,8 @@ map kitty_mod+c copy_to_clipboard
|
|||||||
map kitty_mod+y open_url_with_hints
|
map kitty_mod+y open_url_with_hints
|
||||||
map kitty_mod+s launch librewolf --search "@selection"
|
map kitty_mod+s launch librewolf --search "@selection"
|
||||||
map ctrl+alt+s launch --stdin-source=@selection --type=tab nvim
|
map ctrl+alt+s launch --stdin-source=@selection --type=tab nvim
|
||||||
map kitty_mod+p kitten hints --type path --program nemo
|
map kitty_mod+p kitten hints --type path --program yazi
|
||||||
map ctrl+alt+p kitten hints --type hyperlink --program nemo
|
map ctrl+alt+p kitten hints --type hyperlink --program yazi
|
||||||
map kitty_mod+/ show_kitty_doc overview
|
map kitty_mod+/ show_kitty_doc overview
|
||||||
|
|
||||||
map kitty_mod+equal change_font_size all +1.0
|
map kitty_mod+equal change_font_size all +1.0
|
||||||
|
|||||||
Reference in New Issue
Block a user