asdf icon indicating copy to clipboard operation
asdf copied to clipboard

Alias for non-qwerty users

Open bagnaram opened this issue 3 years ago • 4 comments

Is your feature request related to a problem? Please describe. N/A

Describe the solution you'd like This is more of a one-off thing but an aliased install for Dvorak (Or other layout) users would be a neat addition! Instead of asdf, utilize aoeu or htns for the command.

Describe similar asdf features and why they are not sufficient typing asdf is not as intuitive as aoeu or htns on the dvorak keyboard

Describe workarounds you've considered

find $HOME/.asdf/ -type f | xargs sed -i  's/asdf/aoeu/g'

As well as renaming all files from "asdf" to "aoeu" "or htns"

This functionally works! So maybe this is an option to add to the documentation!

bagnaram avatar Apr 30 '21 20:04 bagnaram

I was waiting years for someone to raise this issue :sweat_smile:

jthegedus avatar May 02 '21 09:05 jthegedus

anecdotically, for other keyboard layouts, an alias would also be good. qsdf for me, on an AZERTY keyboard (damned French people /s)

rienafairefr avatar May 05 '21 14:05 rienafairefr

Sorry to butt in here, but doesn't popping something like the following in your .profile/.bashrc Just Work?

alias aoeu='asdf'

hyperupcall avatar Apr 07 '22 09:04 hyperupcall

@jthegedus thoughts on @hyperupcall 's solution? I'm fine closing this issue.

Stratus3D avatar Aug 10 '22 21:08 Stratus3D

Sort of works but it doesn't take into consideration the documentation or completions and whatnot. The sed replace is the nuclear approach 😄

bagnaram avatar Oct 25 '22 00:10 bagnaram

I mean like, in my option, if you're switching to DVORAK, you're kind of asking for it (and is up to you to fix it). I really don't think that software should bend over backwards over configurations that are so rare in practice, sorry to say

hyperupcall avatar Oct 25 '22 00:10 hyperupcall

The find and sed thing is kind of a hack, and definitely go for it if you want to do it, but I don't think it should have a place in the docs. If anyone is looking at this thread is trying to solve the general completion alias issue (for Bash), I would recommend this.

hyperupcall avatar Oct 25 '22 01:10 hyperupcall

I'm going to close this as I don't believe it's an issue - every tool has a name, and while asdf has some disadvantages it is the name of the tool. alias can be used for those who want something that is easier to type.

Stratus3D avatar Oct 26 '22 13:10 Stratus3D