Autoformat + modified Options shown using "lsblkf"
This commit is contained in:
parent
3d58d564d2
commit
2e61d4bd14
@ -3,7 +3,8 @@
|
|||||||
{
|
{
|
||||||
programs.fish = {
|
programs.fish = {
|
||||||
enable = true;
|
enable = true;
|
||||||
interactiveShellInit = (builtins.readFile ./config/fish/conf.d/interactive.fish);
|
interactiveShellInit =
|
||||||
|
(builtins.readFile ./config/fish/conf.d/interactive.fish);
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
# open emacs in terminal
|
# open emacs in terminal
|
||||||
emacs = "emacs --no-window-system";
|
emacs = "emacs --no-window-system";
|
||||||
@ -15,7 +16,8 @@
|
|||||||
# colored ls output
|
# colored ls output
|
||||||
ls = "ls --color=auto";
|
ls = "ls --color=auto";
|
||||||
# kill all wine processes
|
# kill all wine processes
|
||||||
killwine = "ls -l /proc/*/exe 2>/dev/null | grep -E 'wine(64)?-preloader|wineserver' | perl -pe 's;^.*/proc/(\d+)/exe.*$;$1;g;' | xargs -n 1 kill";
|
killwine =
|
||||||
|
"ls -l /proc/*/exe 2>/dev/null | grep -E 'wine(64)?-preloader|wineserver' | perl -pe 's;^.*/proc/(d+)/exe.*$;$1;g;' | xargs -n 1 kill";
|
||||||
# colored grep output
|
# colored grep output
|
||||||
grep = "grep --color=auto";
|
grep = "grep --color=auto";
|
||||||
# yt-dlp aliases
|
# yt-dlp aliases
|
||||||
@ -24,16 +26,19 @@
|
|||||||
# best video
|
# best video
|
||||||
ytv-best = "yt-dlp -f bestvideo+bestaudio ";
|
ytv-best = "yt-dlp -f bestvideo+bestaudio ";
|
||||||
# download video including metadata from youtube
|
# download video including metadata from youtube
|
||||||
ytv-metadata = "yt-dlp -f bestvideo+bestaudio --add-metadata --parse-metadata \"%(title)s:%(meta_title)s\" --parse-metadata \"%(uploader)s:%(meta_artist)s\" --write-info-json --write-thumbnail --embed-thumbnail --embed-subs --sub-langs \"en.*\" --merge-output-format mkv ";
|
ytv-metadata = ''
|
||||||
|
yt-dlp -f bestvideo+bestaudio --add-metadata --parse-metadata "%(title)s:%(meta_title)s" --parse-metadata "%(uploader)s:%(meta_artist)s" --write-info-json --write-thumbnail --embed-thumbnail --embed-subs --sub-langs "en.*" --merge-output-format mkv '';
|
||||||
# activate venv called "venv" in the local directory
|
# activate venv called "venv" in the local directory
|
||||||
activate = "source venv/bin/activate.fish";
|
activate = "source venv/bin/activate.fish";
|
||||||
# lsblk including file system type
|
# lsblk including file system type
|
||||||
lsblkf = "lsblk -o NAME,FSTYPE,LABEL,MOUNTPOINT,SIZE,MODEL,UUID";
|
lsblkf =
|
||||||
|
"lsblk -o NAME,LABEL,RM,SIZE,RO,TYPE,FSTYPE,MOUNTPOINTS,MODEL,UUID";
|
||||||
# color ip command
|
# color ip command
|
||||||
ip = "ip -c";
|
ip = "ip -c";
|
||||||
};
|
};
|
||||||
functions = {
|
functions = {
|
||||||
fish_prompt = (builtins.readFile ./config/fish/functions/fish_prompt.fish);
|
fish_prompt =
|
||||||
|
(builtins.readFile ./config/fish/functions/fish_prompt.fish);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user