You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This started happening on a auto-ls function in my zshrc (I'll link the code down below)... When fetching a png file. And since this in a auto-ls function, this happens... Every time the shell is cleared and reloaded, which is often.
If anyone has any idea why I'm listening, I ran out of ideas hours ago. Here is the function :
auto-ls-onefetch () {
if git status &> /dev/null
thenif [ -v IN_NIX_SHELL ]
then
gfi=$c_gitfetch_nix_shell_imageelse
gfi=$c_gitfetch_imagefi
shellname=$(basename "/"$(ps -o cmd -f -p $(cat /proc/$(echo $$)/stat \| cut -d \ -f 4)| tail -1 | sed 's/ .*$//'))
backend=""if [[ $shellname=="kitty" ]]
then
backend="kitty"else
backend="iterm"fi
onefetch --image-protocol $backend --image $gfi --no-color-palette --disabled-fields churn description dependencies contributors head created
git status -s
echofi
}```
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
This started happening on a auto-ls function in my zshrc (I'll link the code down below)... When fetching a png file. And since this in a auto-ls function, this happens... Every time the shell is cleared and reloaded, which is often.
If anyone has any idea why I'm listening, I ran out of ideas hours ago. Here is the function :
Beta Was this translation helpful? Give feedback.
All reactions