Merge branch 'use-rcm'
This commit is contained in:
commit
f1ebca52da
11
.functions
11
.functions
|
@ -1,11 +0,0 @@
|
||||||
shorten() {
|
|
||||||
pushd ~/Code/opdavi.es
|
|
||||||
git pull --rebase
|
|
||||||
npm run shorten $1 $2
|
|
||||||
popd
|
|
||||||
}
|
|
||||||
|
|
||||||
function mkd() {
|
|
||||||
mkdir -p "$@" && cd "$@"
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
imap jj <Esc>
|
|
||||||
|
|
3
tag-vim/ideavimrc
Normal file
3
tag-vim/ideavimrc
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
imap jj <Esc>
|
||||||
|
|
||||||
|
set relativenumber
|
|
@ -1,2 +1,3 @@
|
||||||
syntax on
|
syntax on
|
||||||
colo slate
|
colo slate
|
||||||
|
set relativenumber
|
20
tag-zsh/functions
Normal file
20
tag-zsh/functions
Normal 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
|
||||||
|
}
|
2
tag-zsh/zsh_profile.d/navigation.zsh
Normal file
2
tag-zsh/zsh_profile.d/navigation.zsh
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
setopt auto_cd
|
||||||
|
cdpath=($HOME $HOME/Code $HOME/Code/clients $HOME/Code/os)
|
6
tag-zsh/zsh_profile.d/platformsh.zsh
Normal file
6
tag-zsh/zsh_profile.d/platformsh.zsh
Normal 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
|
Loading…
Reference in a new issue