Enable autocompletion in OSM Client

From OSM Public Wiki
Revision as of 14:05, 27 August 2018 by Garciadeblas (talk | contribs) (Created page with "You can enable autocompletion in OSM client by creating a file osm-complete.sh in the following way: mkdir -p $HOME/.bash_completion.d _OSM_COMPLETE=source osm > $HOME/.bash...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

You can enable autocompletion in OSM client by creating a file osm-complete.sh in the following way:

mkdir -p $HOME/.bash_completion.d
_OSM_COMPLETE=source osm > $HOME/.bash_completion.d/osm-complete.sh

Then you can add it to your $HOME/.bashrc file:

. .bash_completion.d/osm-complete.sh