Gollum@feddit.de to Programmer Humor@programming.dev · 1 year agoD or d come oni.imgur.comimagemessage-square183fedilinkarrow-up11.16Karrow-down138 cross-posted to: programmerhumor@lemmy.ml
arrow-up11.12Karrow-down1imageD or d come oni.imgur.comGollum@feddit.de to Programmer Humor@programming.dev · 1 year agomessage-square183fedilink cross-posted to: programmerhumor@lemmy.ml
minus-squarezlatko@programming.devlinkfedilinkarrow-up7·1 year agoFor bash, this is enough: # Bash TAB-completition enhancements # Case-insensitive bind "set completion-ignore-case on" # Treat - and _ as equivalent in tab-compl bind "set completion-map-case on" # Expand options on the _first_ TAB press. bind "set show-all-if-ambiguous on" If you also add e.g.CDPATH=~/Documents, it will also always autocomplete from your Documents no matter which directory you’re on.
minus-squarePennyJim@lemmy.worldlinkfedilinkEnglisharrow-up2·1 year agoSetting CDPATH=:~/Documents/Dev makes navigating to any of my projects so much easier. Thanks for bringing it to my attention
minus-squarecsm10495@sh.itjust.workslinkfedilinkEnglisharrow-up2·1 year agoThanks kind stranger. Never knew of this.
minus-squarezlatko@programming.devlinkfedilinkarrow-up1·1 year agoNo problem! As an aside, I see we’re bringing the strangers thing over from Reddit. I hope more of the fun and funny stuff gets over, I miss some of the light shitposting.
For bash, this is enough:
# Bash TAB-completition enhancements # Case-insensitive bind "set completion-ignore-case on" # Treat - and _ as equivalent in tab-compl bind "set completion-map-case on" # Expand options on the _first_ TAB press. bind "set show-all-if-ambiguous on"
If you also add e.g.
CDPATH=~/Documents
, it will also always autocomplete from your Documents no matter which directory you’re on.Setting
CDPATH=:~/Documents/Dev
makes navigating to any of my projects so much easier.Thanks for bringing it to my attention
Thanks kind stranger. Never knew of this.
No problem!
As an aside, I see we’re bringing the strangers thing over from Reddit. I hope more of the fun and funny stuff gets over, I miss some of the light shitposting.