dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit d2af268b856f2635ad082895811d360e8b1ecd0a
parent 9c3feafca860cca7cf08a86f59415fc100e54306
Author: Alex Balgavy <EMAIL>
Date:   Sun, 29 Sep 2019 16:17:04 -0400

commonprofile changes


Former-commit-id: b9391b86e0914862083255394553d472a476acc5
Diffstat:
Mshell/commonprofile | 21+--------------------
1 file changed, 1 insertion(+), 20 deletions(-)

diff --git a/shell/commonprofile b/shell/commonprofile @@ -1,6 +1,5 @@ #!/usr/bin/env bash # vim:foldmethod=marker:foldlevel=0 - # Env variables {{{ # Original path: @@ -74,24 +73,6 @@ SHELLCHECK_OPTS='--exclude=SC1090,SC1091,SC2009' # }}} -# Linux keyboard map {{{ -if [[ $(uname -s) == "Linux" ]]; then - if command -v xcape &> /dev/null; then - setxkbmap -option 'caps:ctrl_modifier' - xcape -e 'Caps_Lock=Escape' - - # This method would also allow me to keep my caps lock - # but it's buggy with my apple bluetooth keyboard - # - # setxkbmap -option 'caps:ctrl_modifier' - # xcape -e 'Caps_Lock=Escape' - else - echo "Please install xcape." - fi -fi -# }}} -# }}} - # Aliases (simple) {{{ alias c="clear" alias fucking="sudo" @@ -255,7 +236,7 @@ if [ -f ~/.fzf.zsh ] || [ -f ~/.fzf.bash ]; then # vim setting edit ve() { local files - IFS=$'\n' files=($(command find ~/.dotfiles/vim -type f | fzf -m --inline-info --prompt="edit> " --height=40 --reverse)) + IFS=$'\n' files=($(command find ~/.dotfiles/vim -type f -not -ipath "*/.git/*" | fzf -m --inline-info --prompt="edit> " --height=40 --reverse)) [[ -n "$files" ]] && ${EDITOR:-vim} "${files[@]}" } # run python