diff --git a/src/r b/src/r index fd54ae5..e3fd5e6 100755 --- a/src/r +++ b/src/r @@ -1,4 +1,3 @@ #!/bin/bash -trap 'clear' SIGINT -setxkbmap -cat ~/.aliases.txt | fzf | cut -d : -f 2- | sed s/\ // | (stty -F /dev/tty -echo; xargs -0 -I _ xdotool type --delay 0 _; stty -F /dev/tty echo) && xdotool key --delay 0 KP_Enter +command=$(cat ~/.aliases.txt | fzf | cut -d : -f 2- | sed s/\ //) +xdotool type --delay 0 "${command}" \ No newline at end of file