[bash] Fix bash profile initialization

Removed automatic initializations of zsh functions.
Fixed not calling correct folders for bash aliases, environment
variables and profile settings.
This commit is contained in:
Marty Oehme 2020-05-19 17:34:28 +02:00
parent ce4473bf9f
commit 1ae92cfc2a
No known key found for this signature in database
GPG key ID: 0CCB0526EFB9611A
4 changed files with 40 additions and 28 deletions

View file

@ -1,10 +1,10 @@
#!/bin/sh
# more usage instructions at https://github.com/clvv/fasd
eval "$(fasd --init posix-hook posix_alias bash-hook zsh-hook zsh-ccomp zsh-ccomp-install zsh-wcomp zsh-wcomp-install)"
# eval "$(fasd --init auto)"
# eval "$(fasd --init posix-hook posix_alias bash-hook zsh-hook zsh-ccomp zsh-ccomp-install zsh-wcomp zsh-wcomp-install)"
type fasd >/dev/null 2>&1 && eval "$(fasd --init auto)"
alias a='fasd -a' # any
alias s='fasd -si' # show / search / select
alias a='fasd -a' # any
alias s='fasd -si' # show / search / select
# alias d='fasd -d' # directory
# alias f='fasd -f' # file
# alias sd='fasd -sid' # interactive directory selection