generated from andy/linux-nixos-hyprland-config-dotfiles
Initial commit
This commit is contained in:
4
home/.config/fish/functions/file-preview.fish
Normal file
4
home/.config/fish/functions/file-preview.fish
Normal file
@@ -0,0 +1,4 @@
|
||||
function file-preview
|
||||
set file "$argv[1]"
|
||||
bat --color=always --style=numbers,header-filesize,grid --line-range=:15 --wrap=auto "$file"
|
||||
end
|
Reference in New Issue
Block a user