common/home/fish/config.fish

24 lines
410 B
Fish
Raw Normal View History

2021-01-16 13:26:52 -08:00
#!/bin/fish
set fish_greeting
alias ubisunt='grep . -rnw -e'
set -x GIT_EDITOR vim
set -x LANG en_US.UTF-8
function latexmk --argument-names 'path'
if test -n "$path"
set abspath (realpath $argv[1])
else
set abspath $PWD
end
docker run --rm -it \
--volume "$HOME/.latexmkrc:/root/.latexmkrc:ro" \
--volume "$abspath:/data" \
--workdir "/data" \
--entrypoint latexmk \
latex \
$argv
end