opout posix
This commit is contained in:
parent
f048ff6aa6
commit
d99097166c
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
# opout: "open output": A general handler for opening a file's intended output.
|
||||
# I find this useful especially running from vim.
|
||||
|
||||
basename="${1%.*}"
|
||||
basename="$(echo "$1" | sed 's/\.[^\/.]*$//')"
|
||||
|
||||
case "$1" in
|
||||
*.tex|*.md|*.rmd|*.ms|*.me|*.mom) setsid "$READER" "$basename".pdf >/dev/null 2>&1 & ;;
|
||||
|
|
Loading…
Reference in a new issue