From cc01d53667c13d44a13069995e3d75042eb4346e Mon Sep 17 00:00:00 2001 From: hellerve Date: Wed, 10 Jan 2018 13:04:43 +0100 Subject: [PATCH] zsh: fixed a few aliases --- vimrc | 1 + zshrc | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/vimrc b/vimrc index 4833b01..28e911f 100644 --- a/vimrc +++ b/vimrc @@ -92,6 +92,7 @@ Bundle 'hellerve/carp-vim' Bundle 'hellerve/luna-vim' Bundle 'tikhomirov/vim-glsl' Plugin 'rust-lang/rust.vim' +Plugin 'kchmck/vim-coffee-script' " Custom bundles if filereadable(expand("~/.vim.local/bundles.vim")) diff --git a/zshrc b/zshrc index ee5aece..2f65046 100644 --- a/zshrc +++ b/zshrc @@ -208,7 +208,7 @@ save_dotfiles(){ makepass(){ LEN=20 - if [ $# > 1 ] ; then + if [ $# -gt 1 ] ; then LEN=$1 fi cat /dev/urandom | base64 | head -c $LEN @@ -285,8 +285,8 @@ elif type compctl &>/dev/null; then fi ###-end-npm-completion-### -function gclone { - git clone https://github.com/$1 +function ghcl { + git clone git@github.com:$1.git } fortune | cowsay