Skip to content

Commit

Permalink
chore: fix some POSIX issues
Browse files Browse the repository at this point in the history
  • Loading branch information
bklebe committed May 22, 2024
1 parent 57d97a8 commit a3d53ae
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .config/zsh/.zprofile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

. "$XDG_DATA_HOME"/cargo/env

export EDITOR="emacsclient --alternate-editor='emacs' --create-frame"
export EDITOR="emacsclient --alternate-editor=emacs --create-frame"

alias emacs="$EDITOR --no-wait"
alias emacs='$EDITOR --no-wait'

# Set PATH, MANPATH, etc., for Homebrew.
eval "$(/opt/homebrew/bin/brew shellenv)"
Expand Down Expand Up @@ -35,5 +35,5 @@ export KERL_DOC_TARGETS="html chunks"

HB_CNF_HANDLER="$prefix/Library/Taps/homebrew/homebrew-command-not-found/handler.sh"
if [ -f "$HB_CNF_HANDLER" ]; then
source "$HB_CNF_HANDLER"
. "$HB_CNF_HANDLER"
fi
7 changes: 4 additions & 3 deletions .config/zsh/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@ if type brew >/dev/null 2>&1; then

autoload -Uz compinit
compinit -d "$XDG_CACHE_HOME"/zsh/zcompdump-"$ZSH_VERSION"
source <(jj util completion zsh)
. <(jj util completion zsh)
fi


# . "$(pack completion --shell zsh)"

alias svn="svn --config-dir $XDG_CONFIG_HOME/subversion"
alias svn='svn --config-dir $XDG_CONFIG_HOME/subversion'

alias gtfs="curl https://cdn.mbta.com/MBTA_GTFS.zip --output gtfs.zip"

Expand All @@ -33,7 +34,7 @@ autoload run-help
HELPDIR=/usr/share/zsh/"${ZSH_VERSION}"/help
alias help=run-help

alias wget=wget --hsts-file="$XDG_DATA_HOME/wget-hsts"
alias wget='wget --hsts-file=$XDG_DATA_HOME/wget-hsts'

function tfp() {
# Capture the output of the terraform plan command with the supplied flags
Expand Down

0 comments on commit a3d53ae

Please sign in to comment.