Comments (2)
No, the documentation is correct: The arguments are passed as $argv:
fish -c 'echo $argv' hello world
from fish-shell.
Ah, I didn't realize I had to explicitly expand argv. Thanks!
from fish-shell.
Related Issues (20)
- `command -f repaint` does not fire event `fish_prompt` HOT 1
- The sudo shortcut causes panic in some cases HOT 1
- clipboard copy not working with selection in binding HOT 2
- Almost expansion globbing HOT 4
- can translate the bashrc content to the config.fish HOT 6
- `test -n $nonexistent_variable` succeeds HOT 3
- Feature request: history-word-search-*? HOT 4
- fish refuses to tab autocomplete files for wg-quick command
- Store generated_completions in ~/.cache/fish not ~/.local/share/fish HOT 2
- User config snippets are not loaded in nvim terminal HOT 3
- terminated by signal SIGABRT when completing an environment variable in a string HOT 1
- rustc shell completions broken with recent nightly Rust
- `disown` and `function --on-process-exit` HOT 1
- [information/clarification] Does `block` affect `--on-process-exit`, `--on-job-exit`, `--on-variable` and/or `--on-signal` functions? HOT 5
- Fish-shell command is broken at window line wraps when copied from Windows Terminal or vscode. HOT 1
- Issues with Upgrading and Stabilizing Reverse Shell in Fish Shell HOT 5
- check-completions.fish fails when completion command exists but errors HOT 7
- [vi-mode] bug: incorrect `b` behavior
- [vi-mode] bug: cursor gets misplaced after delete
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fish-shell.