gbowne1 / gbowne1/dotfiles

Test out checkeditor.sh

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
bug documentation enhancement good first issue help wanted question
Dominant language
Shell
Stars
6
Forks
0
PR merge metrics
No merged PRs in 30d

Description

The original concept to this file was to do:

1) list installation locations of editors
2) show the current version which is installed
3) check to see if the installed version if the editor is outdated
4) download the editor(s) which are not installed or out of date

The original code was:

```bash
#!/bin/bash

editors=("ed" "sed" "awk" "vi" "vim" "nvim" "nano" "emacs" "joe" "ex" "gedit" "code" "atom" "subl" "micro" "notepad++" "notepadqq")
for editor in "${editors[@]}"
do
if command -v $editor &> /dev/null
then
echo "$editor is installed at $(which $editor)"
else
echo "$editor is not installed"
fi
done
```

Also the list of known editors was not complete.

Add the missing known editors which can be installed with apt / dpkg

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.