dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit b2c43e8271a34ded78e539282fc422d7780ff258
parent 6b84043c3fd9fc8b6a7fc6fcab0cccac79864d33
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Thu, 16 May 2019 13:39:41 -0500

Transition scripts to POSIX sh

Diffstat:
M.Xresources | 4++--
Mbin/i3status-mpc.sh | 2+-
Mbin/irc.sh | 6+++---
Mbin/tmux-utility.sh | 2+-
4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/.Xresources b/.Xresources @@ -5,8 +5,8 @@ Xcursor.size: 16 ! terminal colors ------------------------------------------------------------ ! see https://ciembor.github.io/4bit -*.foreground: #4d4d4c -*.background: #ffffff +*.foreground: #c5c8c6 +*.background: #1d1f21 /* black */ *color0: #434944 diff --git a/bin/i3status-mpc.sh b/bin/i3status-mpc.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh mpdcolor="#81a2be" host=bigquake.ucsd.edu diff --git a/bin/irc.sh b/bin/irc.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/sh set -e USER=irc @@ -7,11 +7,11 @@ PORT=12344 POSTCMD="bin/tmux-irc.sh" UNAMESTR=$(uname) -if [[ "$UNAMESTR" == 'Linux' ]]; then +if [ "$UNAMESTR" = 'Linux' ]; then #autossh -t -p $PORT $USER@$HOST $POSTCMD mosh --server=/usr/local/bin/mosh-server \ --ssh="ssh -p $PORT" $USER@$HOST "$POSTCMD" -elif [[ "$UNAMESTR" == 'Darwin' ]]; then +elif [ "$UNAMESTR" = 'Darwin' ]; then #ssh -t -p $PORT $USER@$HOST $POSTCMD mosh $USER@$HOST $POSTCMD else diff --git a/bin/tmux-utility.sh b/bin/tmux-utility.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh SESSION=utility echo "starting $SESSION tmux session"