Skip to content

Commit

Permalink
added functions for squarespace and cd && ls
Browse files Browse the repository at this point in the history
Added react-native development tools to tools.sh
  • Loading branch information
klyve committed Jun 10, 2019
1 parent 68e7e24 commit f6ea6ea
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 3 deletions.
7 changes: 6 additions & 1 deletion tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ brew cask install caprine
brew cask install spotify
brew cask install 1password
brew cask install alfred
brew cask install skype-for-business

# Browsers
brew cask install google-chrome
Expand All @@ -32,6 +33,8 @@ brew install neovim
brew cask install visual-studio-code
brew cask install geektool
brew cask install cyberduck
brew cask install java
brew cask install virtualbox


# -------------------------------
Expand Down Expand Up @@ -63,14 +66,16 @@ gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703

# Golang
brew install go
brew install dep


# Node
brew install node
npm install -g react-native-cli
npm install -g nodemon
npm install -g n
npm install --global pure-prompt
npm install -g pure-prompt
npm install -g expo-cli

# -------------------------------
# ------- Terminal tools --------
Expand Down
6 changes: 4 additions & 2 deletions zsh/dotfiles/.alias
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/usr/bin/env bash

alias ...='cd ../../'
alias ....='cd ../../../' alias .....='cd ../../../../'
alias ....='cd ../../../'
alias .....='cd ../../../../'
alias ......='cd ../../../../../'
alias ntnu='cd ~/NTNU'
alias c=pbcopy

alias phps='php -S localhost:3000'
Expand All @@ -20,3 +20,5 @@ alias airpods='bltc "Bjartes Airpods"'
alias trackpad='bltc "Bjartes Trackpad"'
alias keyboard='bltc "Bjartes Keyboard"'

alias cd='cs'

2 changes: 2 additions & 0 deletions zsh/dotfiles/.exports
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ test -d "${GOPATH}/src/bitbucket.org" || mkdir -p "${GOPATH}/src/bitbucket.org"
export DEV_ENVPATH=~/code/work
export DEFAULT_DEV_ENV=maritimeoptima
export GPG_TTY=$(tty)

export $SQUARESPACE_WEBSITE="sheep-rhino-ms3x"
8 changes: 8 additions & 0 deletions zsh/dotfiles/.functions
Original file line number Diff line number Diff line change
Expand Up @@ -156,3 +156,11 @@ function coffee {
fi
}

function squarespace {
squarespace-server https://${SQUARESPACE_WEBSITE}.squarespace.com --auth --verbose
}

function cs {
cd "$@" && ls -a
}

0 comments on commit f6ea6ea

Please sign in to comment.