refactoring fish functions to bash executables
Refactoring to zsh and restoring old functionality