Browse Source

minor updates

Gogs 6 years ago
parent
commit
e788f7e0fd
2 changed files with 10 additions and 6 deletions
  1. 10 0
      .bashrc
  2. 0 6
      .vim/.netrwhist

+ 10 - 0
.bashrc

@@ -130,6 +130,9 @@ fi
 # Add autocompletion for git
 source ~/.bash/git-completion.bash
 
+# Gitrob token
+[ -f ~/.git_token ] && source ~/.git_token
+
 # Add autocompletion for aws
 [ -x /usr/local/bin/aws_completer ] && complete -C aws_completer aws
 
@@ -150,3 +153,10 @@ export ANSIBLE_INVENTORY=~/ansible/ansible_hosts
 export ANSIBLE_HOST_KEY_CHECKING=False
 
 [[ $(type -P fortune) ]] && [[ $(type -P cowsay) ]] && [[ $(type -P lolcat) ]] && fortune | cowsay | lolcat
+
+# tabtab source for serverless package
+# uninstall by removing these lines or running `tabtab uninstall serverless`
+[ -f /usr/local/lib/node_modules/serverless/node_modules/tabtab/.completions/serverless.bash ] && . /usr/local/lib/node_modules/serverless/node_modules/tabtab/.completions/serverless.bash
+# tabtab source for sls package
+# uninstall by removing these lines or running `tabtab uninstall sls`
+[ -f /usr/local/lib/node_modules/serverless/node_modules/tabtab/.completions/sls.bash ] && . /usr/local/lib/node_modules/serverless/node_modules/tabtab/.completions/sls.bash

+ 0 - 6
.vim/.netrwhist

@@ -1,6 +0,0 @@
-let g:netrw_dirhistmax  =10
-let g:netrw_dirhist_cnt =4
-let g:netrw_dirhist_1='/etc/salt/cloud.profiles.d'
-let g:netrw_dirhist_2='/etc/salt/cloud.maps.d'
-let g:netrw_dirhist_3='/etc/salt/cloud.profiles.d'
-let g:netrw_dirhist_4='/etc/salt/cloud.deploy.d'