{"id":195,"date":"2020-06-05T14:30:32","date_gmt":"2020-06-05T10:30:32","guid":{"rendered":"http:\/\/kidds.co.za\/?p=195"},"modified":"2020-06-05T14:30:32","modified_gmt":"2020-06-05T10:30:32","slug":"bash-autocomplete-not-working-properly","status":"publish","type":"post","link":"https:\/\/kidds.co.za\/index.php\/2020\/06\/05\/bash-autocomplete-not-working-properly\/","title":{"rendered":"Bash autocomplete not working properly"},"content":{"rendered":"\n<p>firstly\u00a0<strong>reinstalling the bash-completion<\/strong>\u00a0package with:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>sudo apt-get install &#8211;reinstall bash-completion<\/p><\/blockquote>\n\n\n\n<p>Then&nbsp;<strong>backing up your .bashrc file<\/strong>:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>mv ~\/.bashrc ~\/.bashrc.bak<\/p><\/blockquote>\n\n\n\n<p>Finally,&nbsp;<strong>replace your .bashrc file<\/strong>&nbsp;with the default from&nbsp;<code>\/etc\/skel\/.bashrc<\/code>&nbsp;by using:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>cp \/etc\/skel\/.bashrc ~\/<\/p><\/blockquote>\n\n\n\n<p>This will ensure the following &#8216;complete&#8217; config is restored within the file:<\/p>\n\n\n\n<p>logout and back in should be working fine even with sudo tab completion<\/p>\n","protected":false},"excerpt":{"rendered":"<p>firstly\u00a0reinstalling the bash-completion\u00a0package with: sudo apt-get install &#8211;reinstall bash-completion Then&nbsp;backing up your .bashrc file: mv ~\/.bashrc ~\/.bashrc.bak Finally,&nbsp;replace your .bashrc file&nbsp;with the default from&nbsp;\/etc\/skel\/.bashrc&nbsp;by using: cp \/etc\/skel\/.bashrc ~\/ This will ensure the following &#8216;complete&#8217; config is restored within the file: logout and back in should be working fine even with sudo tab completion<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,1,2],"tags":[],"class_list":["post-195","post","type-post","status-publish","format-standard","hentry","category-bash","category-general","category-linux"],"_links":{"self":[{"href":"https:\/\/kidds.co.za\/index.php\/wp-json\/wp\/v2\/posts\/195","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kidds.co.za\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kidds.co.za\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kidds.co.za\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kidds.co.za\/index.php\/wp-json\/wp\/v2\/comments?post=195"}],"version-history":[{"count":1,"href":"https:\/\/kidds.co.za\/index.php\/wp-json\/wp\/v2\/posts\/195\/revisions"}],"predecessor-version":[{"id":196,"href":"https:\/\/kidds.co.za\/index.php\/wp-json\/wp\/v2\/posts\/195\/revisions\/196"}],"wp:attachment":[{"href":"https:\/\/kidds.co.za\/index.php\/wp-json\/wp\/v2\/media?parent=195"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kidds.co.za\/index.php\/wp-json\/wp\/v2\/categories?post=195"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kidds.co.za\/index.php\/wp-json\/wp\/v2\/tags?post=195"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}