Suppose I am in my home Directory, in terminal, and I want to visit the downloads folder, I type in "cd do" and press tab. I see documents folder and downloads folder below it suggested by auto-completion for the hint "cd do". I press tab another time and downloads folder is selected. I hit enter and I am in downloads folder.
The problem is with auto-completion here. When I press tab after typing "cd do", it should be replaced the string "cd do" by "cd documents" and next tab should replace it with " cd downloads". When I enter "cd do" and press tab, I see "cd doDocuments" on the next tab I see "cd doDownloads". I hit enter on "cd doDownloads" and it takes me to downloads directory.
In short, hint for auto completion suggestions on tab are not being overwritten by the suggested command. Rather the suggestion is being printed after that hint.
So cd Downloads looks like
cd doDownloads
It still works, but gets annoying.
Here I pressed tab after typing "do" . The string do should be REPLACED by Downloads or Documents. but they are are being printed AHEAD of the "do"
Similarly for exit, it is exexit
If tab pressed after ex
ththunar
If tab pressed after thun
Its not happening with directory auto-completion but with commands. Specifically the first two characters are repeated each time.
papacman
If tab pressed after pacm
Not a terminal problem
Tried reinstalling fish-autopair. Very confused. I remember updating Garuda fish config, later I remember removing neofetch from my fish configuration.
fish_update_completions does nothing.
Please suggest a fix.
Can share config.fish if asked for. Please help me. My terminal experience is ruined.
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing fish-autopair breaks dependency 'fish-autopair' required by garuda-fish-config
fish is having hard time recognizing lines which begin with '# ' (i.e comments) in config.fish
also when we suggest a hint and press tab for that hint to autocomplete, usually the hint is overwritten by a suggestion provided by the autocompleter. in my case the suggestion is printed after the hint
example-
if i enter 'fish_upda' and hit tab, fish makes it 'fish_update_completions' but for me it is 'fifish_update_completions' which works
OBSERVATION- only first 2 characters are showing this problem
╰─λ fifish_update_completions
Parsing man pages and writing completions to /home/hostuser/.local/share/fish/generated_completions/
3659 / 3659 : zramctl.8.gz
i solved the issue with # by removing all the comments from config.fish
set fish_greeting
set VIRTUAL_ENV_DISABLE_PROMPT "1"
set -x MANPAGER "sh -c 'col -bx | bat -l man -p'"
set -U __done_min_cmd_duration 10000
set -U __done_notification_urgency_level low
source ~/.profile
if test -d ~/.local/bin
if not contains -- ~/.local/bin $PATH
set -p PATH ~/.local/bin
end
end
if test -d ~/Applications/depot_tools
if not contains -- ~/Applications/depot_tools $PATH
set -p PATH ~/Applications/depot_tools
end
end
if status --is-interactive
source ("/usr/bin/starship" init fish --print-full-init | psub)
end
function __history_previous_command
switch (commandline -t)
case "!"
commandline -t $history[1]; commandline -f repaint
case "*"
commandline -i !
end
end
function __history_previous_command_arguments
switch (commandline -t)
case "!"
commandline -t ""
commandline -f history-token-search-backward
case "*"
commandline -i '$'
end
end
if [ "$fish_key_bindings" = fish_vi_key_bindings ];
bind -Minsert ! __history_previous_command
bind -Minsert '$' __history_previous_command_arguments
else
bind ! __history_previous_command
bind '$' __history_previous_command_arguments
end
function history
builtin history --show-time='%F %T '
end
function backup --argument filename
cp $filename $filename.bak
end
function copy
set count (count $argv | tr -d \n)
if test "$count" = 2; and test -d "$argv[1]"
set from (echo $argv[1] | trim-right /)
set to (echo $argv[2])
command cp -r $from $to
else
command cp $argv
end
end
if type "wal" >> /dev/null 2>&1
cat ~/.cache/wal/sequences
end
alias ls='exa -al --color=always --group-directories-first --icons' # preferred listing
alias la='exa -a --color=always --group-directories-first --icons' # all files and dirs
alias ll='exa -l --color=always --group-directories-first --icons' # long format
alias lt='exa -aT --color=always --group-directories-first --icons' # tree listing
alias l.="exa -a | egrep '^\.'" # show only dotfiles
alias cat='bat --style header --style rules --style snip --style changes --style header'
[ ! -x /usr/bin/yay ] && [ -x /usr/bin/paru ] && alias yay='paru --bottomup'
alias aup="pamac upgrade --aur"
alias grubup="sudo update-grub"
alias fixpacman="sudo rm /var/lib/pacman/db.lck"
alias tarnow='tar -acf '
alias untar='tar -zxvf '
alias wget='wget -c '
alias rmpkg="sudo pacman -Rdd"
alias psmem='ps auxf | sort -nr -k 4'
alias psmem10='ps auxf | sort -nr -k 4 | head -10'
alias upd='sudo reflector --latest 5 --age 2 --fastest 5 --protocol https --sort rate --save /etc/pacman.d/mirrorlist && cat /etc/pacman.d/mirrorlist && sudo pacman -Syu && fish_update_completions && sudo updatedb'
alias ..='cd ..'
alias ...='cd ../..'
alias ....='cd ../../..'
alias .....='cd ../../../..'
alias ......='cd ../../../../..'
alias dir='dir --color=auto'
alias vdir='vdir --color=auto'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
alias hw='hwinfo --short' # Hardware Info
alias big="expac -H M '%m\t%n' | sort -h | nl" # Sort installed packages according to size in MB (expac must be installed)
alias gitpkg='pacman -Q | grep -i "\-git" | wc -l' # List amount of -git packages
alias mirror="sudo reflector -f 30 -l 30 --number 10 --verbose --save /etc/pacman.d/mirrorlist"
alias mirrord="sudo reflector --latest 50 --number 20 --sort delay --save /etc/pacman.d/mirrorlist"
alias mirrors="sudo reflector --latest 50 --number 20 --sort score --save /etc/pacman.d/mirrorlist"
alias mirrora="sudo reflector --latest 50 --number 20 --sort age --save /etc/pacman.d/mirrorlist"
alias apt='man pacman'
alias apt-get='man pacman'
alias helpme='cht.sh --shell'
alias please='sudo'
alias tb='nc termbin.com 9999'
alias cleanup='sudo pacman -Rns (pacman -Qtdq)'
alias jctl="journalctl -p 3 -xb"
alias rip="expac --timefmt='%Y-%m-%d %T' '%l\t%n %v' | sort | tail -200 | nl"
YES, THATS ALL YOU ASKED FOR.
i use alacritty and kitty terminals. can share their dotfiles if you need it.
they can ask more data
Edit 1-
Monospace Font I am using is fira code retina
And I have removed neofetch and paleofetch from config.fish as the text part of neofetch was being rendered very far away from the logo.
More data
I was being misled by few people pointing BOM in my fish configuration
Apparently you have more problems than you realize.
If I were you, I would save my data, install everything with the latest ISO from yesterday and make no more changes to it!
If that was a problem everyone here would have issues with the default config. Im for example using it without issues.
λ cat ~/.config/fish/config.fish
File: /home/nico/.config/fish/config.fish
## Set values
# Hide welcome message
set fish_greeting
set VIRTUAL_ENV_DISABLE_PROMPT "1"
set -x MANPAGER "sh -c 'col -bx | bat -l man -p'"
A possible next step for debugging would be to remove garuda-fish-config with all its dependencies and check if the issue happens without those as well. (just gotta make sure to install starship as the its needed for the config itself). This way you could verify if your claim is true.
To me this is not really a solution as we still dont know why its happening
Yes I read. I know it's messed up. Is the problem unsolvable. I mean resetting locales or something like that. Don't worry I am not going to follow any random guide on web. You guys help me out. I request.
Thats not how things work in this forum. If you payed money for support you could demand help like this, not here though where people work in their precious free time because they enjoy doing this.
Anyway, I also wondered if the locale might be a problem. Does the problem happen as well in live boot with plain english locales?
I remember changing locale from en us to en india via Garuda system settings because I was familiar to it since I had used Manjaro xfce before. Now I am not able to change it back to en us. I recognise the issue now. The auto-completion works well with en us. Also live boots have no issue.
When I click the restore button, I am back to en india locale. When I right click on en us and click on option to set it as default it changed. But when I hit apply settings it's lost and I am back on en india locale
I think creating a new user might not work as locale is not different for each user.
Also reinstalling Garuda settings manager might be an option. Not sure.
Might change locale to something familiar like en uk?
I think it's not about Garuda configs or fish. Its about the garuda-settings-manager. This thread might be common for Garuda as well as Manjaro as both use the same app. I could head over there as well for help if you guys don't mind. I am not sure about relations of Garuda with other distros, all I know is endeavour os guys are not comfortable with us.Reinstalling will be my last resort. Till then I want to make all attempts to change my locale to enUS. Can I post the same issue on Manjaro forum after all the helpers over here have done trying out? They also can help with locale as Garuda and Manjaro's system settings manager are very similar. I wait for a Garuda team member for answer over this.
I understand. But I desperately need help. I have done everything I can. even sudo locale-gen is giving me an error. Can anyone help me? Where do I go? Am I abandoned? Any place where I could get help?
Does that mean there is no hope of getting help here? I am ready to fully co-operate with anyone, in case you have free time. Please help me if you can, would be great.
This isn't Telegram or live chat. This is a forum where it may take days to find the right person to help you find an answer. Have a little patience for crying out loud.
If you are expecting instantaneous real time support just for you, perhaps we can set up a per minute paid support account for you if you are expecting that level of attention.
I believe M$ charges a minimum of $160US per support incident. How would you like to pay per minute or per incident?
Edit:
Just by happenstance I was reading another post just now where a user was begging for help and being extremely impatient after already receiving help:
Guess what, turns out that user was you (yet again).
Your behaviour is not only rude, it is out of line for a volunteer support forum. It is already understood that you are looking for help if you have opened a help request on the forum. Repeatedly begging for help is unwarranted and unwelcome here. If I see one more example of this type of behavior from you you will be silenced on our forum for at least 2 weeks.
Learn some etiquette or go elsewhere for your support needs.
This post panicked hell out of me. I am sorry for the rude behaviour. Will wait for a week or two over here. Let's see how it turns out.
Thanks and sorry.