Commit Graph

16 Commits

Author SHA1 Message Date
Eyal Posener d22b38ff2e install: create file directory before file is created
Fixes #59
2018-03-09 08:18:31 +02:00
Yuki Ito fbb0b60454 Add support for fish 2018-01-08 17:51:45 +09:00
Costas Tyfoxylos 3682ca65e0 Fixes the issue where if .profile is used and not any of the other files the -install-autocomplete fails with :
Error executing CLI: Did not find any shells to install

excerpt from bash man page

    When bash is invoked as an interactive login shell, or as a non-interactive shell with the --login option, it first reads and executes commands from the file /etc/profile, if that file exists. After reading that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile, in that order, and reads and executes commands from the first one that exists and is readable. The --noprofile option may be used when the shell is started to inhibit this behavior.

    When an interactive shell that is not a login shell is started, bash reads and executes commands from /etc/bash.bashrc and ~/.bashrc, if these files exist. This may be inhibited by using the --norc option. The --rcfile file option will force bash to read and execute commands from file instead of /etc/bash.bashrc and ~/.bashrc.
2017-12-19 11:05:40 +01:00
Thom Shutt a27e787f90 Fixed grammar 2017-09-08 13:40:26 +01:00
Seth Vargo 0c517573da
Use nospace option for zsh 2017-08-29 12:55:27 -04:00
Josh Bleecher Snyder b74be9ff54 add .bash_profile as a bash rc file
This is common on macs.
2017-05-23 08:04:21 -07:00
Josh Bleecher Snyder e3c14b831e check whether rc file exists during installation 2017-05-23 08:03:54 -07:00
Josh Bleecher Snyder de4cdce279 correctly report installation failures
Prior to this, installations failed silently.
2017-05-23 07:43:32 -07:00
Eyal Posener 14dcbd6b21 cmd: remove adding of flags from run 2017-05-20 22:29:12 +03:00
Eyal Posener 5ba73666ab cmd: fix complete flags name 2017-05-20 22:15:37 +03:00
Eyal Posener 3776c7286e cmd/install: add support for zsh
Fixes: #9
2017-05-13 11:06:15 +03:00
Eyal Posener 9de57bdcf5 Enable completion and executable be the same command
Fixes #6
2017-05-10 19:21:35 +03:00
Eyal Posener 5db452a63f Install fixups
- remove root installation
- install according to shell type

Closes #7
2017-05-08 07:32:13 +03:00
Eyal Posener c20bec01d6 Fix one more vet 2017-05-06 22:26:29 +03:00
Eyal Posener cc743aad8b Fix vet 2017-05-06 22:25:44 +03:00
Eyal Posener 703dd6ebc3 improve docs 2017-05-06 22:15:15 +03:00