all repos — dotfiles @ 2425a424e6b772abddf207ca3f63a68225d978a7

my *nix dotfiles

More bash shit
Anirudh Oppiliappan x@icyphox.sh
Sat, 22 May 2021 17:47:44 +0530
commit

2425a424e6b772abddf207ca3f63a68225d978a7

parent

670e041e0b48ee13a416021949f9550350776197

3 files changed, 19 insertions(+), 2 deletions(-)

jump to
M bash/.bashrcbash/.bashrc

@@ -25,7 +25,7 @@ bind 'TAB:menu-complete'

# fzy reverse search __fzy_history() { - ch="$(fc -l | fzy | cut -f2)" + ch="$(fc -l 1000 | fzy | cut -f2)" : "${ch#"${ch%%[![:space:]]*}"}" printf "$_" }

@@ -44,3 +44,9 @@

export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion + +# The next line updates PATH for the Google Cloud SDK. +if [ -f '/Users/icy/Downloads/google-cloud-sdk/path.bash.inc' ]; then . '/Users/icy/Downloads/google-cloud-sdk/path.bash.inc'; fi + +# The next line enables shell command completion for gcloud. +if [ -f '/Users/icy/Downloads/google-cloud-sdk/completion.bash.inc' ]; then . '/Users/icy/Downloads/google-cloud-sdk/completion.bash.inc'; fi
M bash/.bashrc.d/90-aliases.bashbash/.bashrc.d/90-aliases.bash

@@ -38,3 +38,14 @@ colorls -G "$@"

;; esac } + +m() { + case "$OSTYPE" in + "darwin"*) + s-nail "$@" + ;; + *"bsd"*) + nail "$@" + ;; + esac +}
M config/nvim/lua/maps.luaconfig/nvim/lua/maps.lua

@@ -37,7 +37,7 @@ '',

'<leader>e', string.format( ':call v:lua.fzy_shell_cmd("find -L . -type f %s", ":e")<cr>', - fzy_ignore{'*.git/*', '*node_modules*', '*.pyc'} + fzy_ignore{'*.git/*', '*node_modules*', '*.pyc', '*migrations*'} ), { noremap=true, silent=true } )