refactored some stuff

This commit is contained in:
Nikolas Weger 2020-09-06 18:31:03 +02:00
parent b1cbc649cc
commit 28713f1445

View file

@ -1,25 +1,3 @@
#export os=$(grep -E "^ID=" /etc/*release | cut -d= -f2)
#fzfComp=""
#fzfKeyb=""
#if [[ $os == "arch" ]]; then
# fzfComp="/usr/share/fzf/completion.zsh"
# fzfKeyb="/usr/share/fzf/key-bindings.zsh"
#fi
#if [[ $os == "debian" || $os == "ubuntu" || $os == "kali" ]]; then
# fzfComp="/usr/share/doc/fzf/examples/completion.zsh"
# fzfKeyb="/usr/share/doc/fzf/examples/key-bindings.zsh"
#fi
#if [[ $os == "fedora" ]]; then
# fzfKeyb="/usr/share/fzf/shell/key-bindings.zsh"
#fi
#source $fzfComp &>/dev/null
#source $fzfKeyb &>/dev/null
function setup_using_base_dir() { function setup_using_base_dir() {
# Declare all variables local not no mess with outside env in any way # Declare all variables local not no mess with outside env in any way
local fzf_base local fzf_base