dotfiles

Luke's GNU/Linux dotfiles for i3, vim, ranger, bash, mpd, etc.
git clone git@git.lukesmith.xyz:dotfiles
Log | Files | Refs | README | LICENSE

commit 7132b2ba87bf311e0893267b5083a27c88edbbca
parent d00f6b67bbce71b60f59cb812640fea6e3a43d95
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Tue,  4 Sep 2018 14:21:13 -0400

compiler dir-independent, sh>bash

Diffstat:
M.scripts/compiler | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.scripts/compiler b/.scripts/compiler @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # This script will compile or run another finishing operation on a document. I # have this script run via vim. @@ -14,7 +14,7 @@ oridir=$(pwd) file=$(readlink -f "$1") dir=$(dirname "$file") base="${file%.*}" -cd $dir +cd "$dir" || exit textype() { \ command="pdflatex" @@ -33,4 +33,4 @@ case "$file" in *config.h) make && sudo make install ;; *) sent "$file" 2>/dev/null & ;; esac -cd $oridir +cd "$oridir" || exit