Skip to content

Commit

Permalink
Do not force to have vim.
Browse files Browse the repository at this point in the history
sops already supports of EDITOR env variable usage
vide https://github.com/mozilla/sops/blob/master/README.rst#2usage

Fixes zendesk#33
  • Loading branch information
morgoth committed Mar 20, 2018
1 parent 7ca3450 commit 8f2e055
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions secrets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -290,10 +290,6 @@ view() {
}

edit() {
if ! type "vim" > /dev/null; then
echo "Command like 'vim' must be installed to edit before re-encrypt"
exit 1
fi
chart=$1
vars_load "$chart"
edit_helper
Expand Down

0 comments on commit 8f2e055

Please sign in to comment.