Comments (5)
The autocomplete seems to escape all special characters in session name, not only spaces.
I just try session names like test-1
, test_1
, and it gives me test\-1
, test\_1
.
Is this behavior by design?
from tmuxp.
43ae67b#diff-a498a9add27795c3cfd1d480159f1697R304
Then it's by design.
And the About tmux
page is really helpful!
from tmuxp.
This was a midway update experimenting with how to fix escaping on bash completion.
Previously, argparse
appeared to accept multiple arguments. In practice, it concatenated unescaped spaces into a full session name.
Now, argparse
accepts one argument, but what about argcomplete
(our bash completer) where there is special symbols and spaces in the name?
Currently, the solution to this problem is going to require changes to argcomplete, the situation is a bit more complicated because it involves escaping for both zsh and bash, argcomplete's zsh and bash script, and argcomplete's way of returning the completions, and tmux allows many special chars for session names.
from tmuxp.
This is indeed a larger issue @leechannl. I moved the recent work to a branch in https://github.com/tony/tmuxp/tree/new_completion.
from tmuxp.
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
This bot is used to handle issues where the issue hasn't been discussed or
has gone out of date. If an issue isn't resolved and handled in a certain
period of time, it may be closed. If you would like your issue re-opened,
please create a fresh issue with the latest, up to date information and
mention this issue in it.
from tmuxp.
Related Issues (20)
- `Builder`: Race conditions after #796 / strict mypy
- `tmuxp load` AssertionError or loads session only partially HOT 16
- Trouble fetching the session_id when tmux server is already running HOT 8
- passing options to tmux command: libtmux.exc.UnknownOption HOT 4
- Pass the workspace_builder to plugin hooks instead of the tmux session
- skip existing named windows on tmuxp load -a workspace
- documentation: layouts HOT 1
- main-pane-height of incorrect size HOT 2
- [FR]Would like sample functions like tmuxinator HOT 4
- mypy: Document existing config format
- Drop Python 3.7 HOT 1
- Strange behavior on startup HOT 4
- Commands not executing HOT 7
- Move `config_reader` to `_internal`
- docs: Split API docs into multiple pages
- Move `_types` to `_internal/types`
- 1.34.0: test_environment_variables fails on really fast CI runners
- tmuxp crashes while load an config file HOT 6
- Issue with using `-t` in pane commands in session files HOT 10
- Package on Conda-Forge
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 tmuxp.