Open fabianhijlkema opened 1 year ago
Fig uses "bracketed paste" to insert text into the shell on your behalf. It looks like your terminal or some shell plugin is preventing this in bash
. Can you share your bashrc?
Also in the meantime, you can change this setting to have the script run directly:
fig settings scripts.insert-into-shell false
.bashrc file
# Fig pre block. Keep at the top of this file.
[[ -f "$HOME/.fig/shell/bashrc.pre.bash" ]] && builtin source "$HOME/.fig/shell/bashrc.pre.bash"
###-tns-completion-start-###
if [ -f /Users/fabianhijlkema/.tnsrc ]; then
source /Users/fabianhijlkema/.tnsrc
fi
###-tns-completion-end-###
export PATH=$HOME/bin:$PATH
export PATH="/Users/fabianhijlkema/.deta/bin:$PATH"
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
export PATH="/Users/fabianhijlkema/.deta/bin:$PATH"
# Fig post block. Keep at the bottom of this file.
[[ -f "$HOME/.fig/shell/bashrc.post.bash" ]] && builtin source "$HOME/.fig/shell/bashrc.post.bash"
With the proposed setting it also works.
Checks
fig doctor
in the affected terminal sessionfig restart
and replicated the issue againOperating system
MacOS 12.6.1
Expected behaviour
Fig scripts to work with input.
Actual behaviour
Running script results in command not found.
After running
exec zsh
it does seem to work.Steps to reproduce
Adding
Kill all processes at port
script from scripts store. Running the script.Environment