mirror of https://github.com/ericonr/dotfiles.git
Format fish config files according to fish_indent.
This commit is contained in:
parent
791acb5ec0
commit
e612bc5d79
|
@ -21,7 +21,7 @@ alias maketmp='make BUILD_DIR=/tmp/(basename (pwd))'
|
||||||
alias cargotmp='env CARGO_TARGET_DIR=/tmp/cargo/(basename (pwd)) cargo'
|
alias cargotmp='env CARGO_TARGET_DIR=/tmp/cargo/(basename (pwd)) cargo'
|
||||||
|
|
||||||
function statusgit --argument show \
|
function statusgit --argument show \
|
||||||
--description "Show git status for all directories in the current directory. Requires omf."
|
--description "Show git status for all directories in the current directory. Requires omf."
|
||||||
if test -z $show
|
if test -z $show
|
||||||
set show_status false
|
set show_status false
|
||||||
else
|
else
|
||||||
|
|
|
@ -14,6 +14,6 @@ alias clem='emacsclient -n'
|
||||||
alias temacs="emacs -nw"
|
alias temacs="emacs -nw"
|
||||||
|
|
||||||
function mdbat --argument-names file
|
function mdbat --argument-names file
|
||||||
mdcat $file | bat -p
|
mdcat $file | bat -p
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -18,11 +18,11 @@ alias lla='ls -lA'
|
||||||
alias la='ls -A'
|
alias la='ls -A'
|
||||||
|
|
||||||
function rmstar --description "Remove starship prompt."
|
function rmstar --description "Remove starship prompt."
|
||||||
alias fish_prompt='echo (pwd) "> "'
|
alias fish_prompt='echo (pwd) "> "'
|
||||||
end
|
end
|
||||||
|
|
||||||
function addstar --description "Add starship prompt back."
|
function addstar --description "Add starship prompt back."
|
||||||
source ~/.config/fish/functions/fish_prompt.fish
|
source ~/.config/fish/functions/fish_prompt.fish
|
||||||
end
|
end
|
||||||
|
|
||||||
alias pre='cd ../'
|
alias pre='cd ../'
|
||||||
|
@ -34,8 +34,8 @@ alias rgmod='lsmod | rg -i'
|
||||||
alias rgps='ps aux | rg -i'
|
alias rgps='ps aux | rg -i'
|
||||||
|
|
||||||
function randpw -a digits \
|
function randpw -a digits \
|
||||||
--description "Generates a random password with the specified number of digits, and copies it into the Wayland buffer."
|
--description "Generates a random password with the specified number of digits, and copies it into the Wayland buffer."
|
||||||
openssl rand -base64 $digits | wl-copy
|
openssl rand -base64 $digits | wl-copy
|
||||||
end
|
end
|
||||||
|
|
||||||
function pdfunlock --description "Unlocks all PDF files in a directory."
|
function pdfunlock --description "Unlocks all PDF files in a directory."
|
||||||
|
|
Loading…
Reference in New Issue