Merge branch 'use-rcm'

This commit is contained in:
Oliver Davies 2019-09-04 23:47:50 +01:00
commit f1ebca52da
18 changed files with 33 additions and 13 deletions

View file

@ -1,11 +0,0 @@
shorten() {
pushd ~/Code/opdavi.es
git pull --rebase
npm run shorten $1 $2
popd
}
function mkd() {
mkdir -p "$@" && cd "$@"
}

View file

@ -1,2 +0,0 @@
imap jj <Esc>

View file

1
rcrc Normal file
View file

@ -0,0 +1 @@
TAGS="git npm php vim zsh"

3
tag-vim/ideavimrc Normal file
View file

@ -0,0 +1,3 @@
imap jj <Esc>
set relativenumber

View file

@ -1,2 +1,3 @@
syntax on
colo slate
set relativenumber

20
tag-zsh/functions Normal file
View file

@ -0,0 +1,20 @@
shorten() {
pushd ~/Code/opdavi.es
git pull --rebase
npm run shorten $1 $2
popd
}
function mkd() {
mkdir -p "$@" && cd "$@"
}
function db {
if [ "$1" = "refresh" ]; then
mysql -uroot -e "drop database $2; create database $2"
elif [ "$1" = "create" ]; then
mysql -uroot -e "create database $2"
elif [ "$1" = "drop" ]; then
mysql -uroot -e "drop database $2"
fi
}

View file

@ -0,0 +1,2 @@
setopt auto_cd
cdpath=($HOME $HOME/Code $HOME/Code/clients $HOME/Code/os)

View file

@ -0,0 +1,6 @@
# Platform.sh CLI configuration.
export PATH="$HOME/"'.platformsh/bin':"$PATH"
if [ -f "$HOME/"'.platformsh/shell-config.rc' ]; then
. "$HOME/"'.platformsh/shell-config.rc';
fi