Skip to content

Instantly share code, notes, and snippets.

@pjaudiomv
Last active May 19, 2023 19:51
Show Gist options
  • Save pjaudiomv/154b7de97e8ad5592ed2083b3d3e39b7 to your computer and use it in GitHub Desktop.
Save pjaudiomv/154b7de97e8ad5592ed2083b3d3e39b7 to your computer and use it in GitHub Desktop.
zshrc
export GPG_TTY=$(tty)
alias ll='ls -al'
alias h='history'
alias hg='history | grep $1'
alias c='clear'
alias ns='arp -a | grep :'
alias gs='git status'
alias tf='terraform fmt -recursive'
alias account='{ aws sts get-caller-identity & aws iam list-account-aliases; } | jq -s ".|add"'
/Users/me/bin/phpstorm
#!/bin/sh
#Generated by JetBrains Toolbox 1.19.7784 at 2021-01-24T05:49:28.860063
declare -a ideargs=()
declare -- wait=""
for o in "$@"; do
if [[ "$o" = "--wait" || "$o" = "-w" ]]; then
wait="-W"
o="--wait"
fi
if [[ "$o" =~ " " ]]; then
ideargs+=("\"$o\"")
else
ideargs+=("$o")
fi
done
open -na "/Applications/PhpStorm.app/Contents/MacOS/phpstorm" $wait --args "${ideargs[@]}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment