-
Notifications
You must be signed in to change notification settings - Fork 72
Open
Description
Describe the bug
freeze --execute
doesn't interpret aliases or functions
To Reproduce
- Open the terminal and enter this
alias ll='eza -labgM --group-directories-first --no-time --octal-permissions --classify=always --icons=always --color-scale=size --color-scale-mode=gradient --color=always --hyperlink --smart-group --no-quotes -h'
freeze --execute ll
- Observe error
ERROR Something went wrong
could not execute: exec: "ll": executable file not found in $PATH
Expected behavior
Makes a screenshot.
Workaround
# paste this function into .bashrc
plain_alias ()
{
alias $1 | grep --color=never -oP "(?<=').*(?=')"
}
# run
freeze --execute "$(plain_alias ll) /"
barsikus007, artginzburg, teamwolfyta and mrverdant13
Metadata
Metadata
Assignees
Labels
No labels