Skip to content

Commit

Permalink
fix script by moving echo, and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sysadmin4j committed May 28, 2024
1 parent 94d7cf3 commit 35d9cd6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .zshrc.macos
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
echo "Sweet Home: ${HOME}"

# adding user bin folder to the path
path+=(${HOME}/.local/bin)
export PATH

# set the ide workspace location
export IDE_WORKSPACE="${HOME}/Repos"

# Aliases
# set aliases
alias jump="ssh jump"
alias nvim="ide nvim"
alias build-ide="${IDE_WORKSPACE}/dotfiles/scripts/docker-build-ide.sh"
alias install-ide="${IDE_WORKSPACE}/dotfiles/scripts/install-ide.sh"
alias apply-zsh-config="${IDE_WORKSPACE}/dotfiles/scripts/apply-zsh-config.sh"
alias repos="cd ${IDE_WORKSPACE}"

# History
# set history
export HISTFILE=${HOME}/.local/state/zsh/.zsh_history
setopt share_history

# not on ssh login, if the ssh agent has no identities, login to github.com
# if the ssh agent has no identities, login to github.com
if [[ -z "$SSH_TTY" ]]; then
ssh-add -l |grep -q "The agent has no identities." && ssh -T [email protected]
fi

echo "Sweet Home: ${HOME}"

0 comments on commit 35d9cd6

Please sign in to comment.