Enable autocompletion in OSM Client: Difference between revisions

From OSM Public Wiki
Jump to: navigation, search
(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...")
(No difference)

Revision as of 14:05, 27 August 2018

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