Comments (8)
I'm using Atuin 18.2.0 on MacOS and I'd also love to see commented-commands appear in my history
from atuin.
I'm afraid commented commands not showing is a limitation of bash-preexec. It's a hack we have to use to get shell hooks on bash, as bash does not support them itself
You have two options really
- Stick with bash, but use ble.sh
- Use any other shell supported by atuin. I'd usually suggest zsh.
from atuin.
I honestly didn't notice before that this bug was for bash. I am using zsh on MacOS - is there a config setting I should be using or something else I ought to do differently?
version: 18.2.0
sync: null
shell:
name: zsh
default: zsh
plugins:
- atuin
system:
os: Darwin
arch: arm64
version: 14.4.1
disks:
- name: Macintosh HD
filesystem: apfs
- name: Macintosh HD
filesystem: apfs
from atuin.
Could you give an example of a commented command that does not work for you? and could you share your zsh config please?
from atuin.
same: Mac + zsh, atuin doesn't show commented commands
Could you give an example of a commented command that does not work for you?
# echo hello
could you share your zsh config please?
export PATH=/usr/local/opt/libpq/bin:$HOME/.local/bin:/usr/local/bin:$PATH
export ZSH="/Users/xx/.oh-my-zsh"
ZSH_THEME="powerlevel10k/powerlevel10k"
DISABLE_AUTO_UPDATE="true"
plugins=(git)
source $ZSH/oh-my-zsh.sh
if [[ "$TERMINAL_EMULATOR" == "JetBrains-JediTerm" ]]; then
bindkey "∫" backward-word # Option-b
bindkey "ƒ" forward-word # Option-f
bindkey "∂" delete-word # Option-d
fi
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
. "/Users/xx/.acme.sh/acme.sh.env"
if [[ ! -o interactive ]]; then
return
fi
compctl -K _jina jina
_jina() {
local words completions
read -cA words
if [ "${#words}" -eq 2 ]; then
completions="$(jina commands)"
else
completions="$(jina completions ${words[2,-2]})"
fi
reply=(${(ps:
:)completions})
}
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
eval "$(atuin init zsh --disable-up-arrow)"
from atuin.
I have a few more plugins installed, but I'm also using Oh My Zsh with the powerlevel10k theme and iterm2 integration.
from atuin.
I can replicate this with having installed oh-my-zsh, will see what config it's changing
from atuin.
Hi! Thanks for atuin and for reaching out from the tweet
I have no atuin doctor
subcommand
$ atuin --version
atuin 18.0.1
I am on nixos and I have this setup in home manager
...
programs.atuin = {
enable = true;
};
programs.zsh = {
enable = true;
enableAutosuggestions = true;
oh-my-zsh = {
enable = true;
plugins = [
"command-not-found"
];
theme = "agnoster";
};
...
let me know if you need more details
from atuin.
Related Issues (20)
- [Bug]: Unable to install on ARM64 - failed to select a version for `env_logger`. HOT 3
- [Bug]: Invert doesn't invert preview location HOT 2
- [Bug]: pool timed out while waiting for an open connection HOT 1
- [Bug]: Missing `ATUIN_SESSION` env-var spam HOT 11
- [Bug]: Missing entries in interactive search
- [Bug]: no disable HOT 3
- [Bug]: Maybe filter out fish's `env` from `atuin stats`? HOT 2
- Tracking `bash-preexec` issue HOT 5
- RFE: Testing postgres HOT 2
- [Bug]: cargo fallback setup method sources cargo env in .profile
- sqlite tests failing in Fedora packaging environment HOT 10
- serde_yaml is deprecated HOT 3
- [Bug]: (code: 261) database is locked on statup HOT 2
- [Bug]: ctrl + left arrow key does not work anymore
- Directory can be truncated in CLI inspector HOT 1
- Rust 1.78 in nix
- [Bug]: Vi command mode '/' for search incorrect semantics HOT 1
- [Bug]: atuin store --help is missing explanations
- [Bug]: attempting to decrypt with incorrect key HOT 3
- Login with incorrect key
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 atuin.