Comments (12)
Bash history works just fine for me. Do you have any custom stuff that could be messing with it?
from bash-it.
nope.
as an example, the prompt looks like this as in a git repo:
± |master ✓| →
using the bash-history overwrites the branch information at some point, which looks like this:
cd .vim/ → git pull
so the cd-command is the actual command from bash history, but it won't get shown at the right position.
from bash-it.
Which theme is that? It probably isn't an issue with bash history, more with with theme.
from bash-it.
it's the default one from bash_it/template/bash_profile.template.bash
export BASH_THEME='bobby'
from bash-it.
Hmm... I seem to be having the same problem. I'll try to see what I can do.
from bash-it.
if there is some other theme that won't brake the history i'll be fine with that.
from bash-it.
Any of the others should work. The one that is closest to "bobby" that I've used would probably be "modern".
from bash-it.
thx, i'll have a look into the other themes, as modern doesn't provide an rvm info
from bash-it.
Just started using this today and I am having the same issue. If someone knows what specifically is causing the problem I can poke around for a fix.
from bash-it.
I had the same problem when working on a theme. I solved it by enclosing non-printing characters with [ and ] in the theme file. Try it and see if it helps.
from bash-it.
It's been to long to remember exactly, but I think I attempted enclosing non-printing characters as well. I believe that I was not successful in getting this method to work, but I am not confident in my understanding of exactly how the escapes should be positioned.
from bash-it.
All color variables have to be enclosed in \[
…\]
when used in a prompt. This marks the sequence as non-printable so bash skips it when calculating the prompt's length.
${green}
→ \[${green}\]
${normal}
→ \[${normal}\]
from bash-it.
Related Issues (20)
- [Bug]: All Bash-it commands broken HOT 5
- [Bug]: Duplicate declaration of `grm` in git.aliases.bash HOT 6
- [Bug]: "egrep: warning: egrep is obsolescent" HOT 7
- [Bug]: aliases completion has conflict with tmux completion HOT 5
- [Bug]: command_duration is broken on different locales than en_US.UTF-8
- [Bug]: System alias ll='ls -l --color=auto' with aliases completion enabled breaks bash file/directory tab completion behavior HOT 4
- [Feature]: show plugins option (--verbose?) to show plugin source URI/http uri - as there is no plugin documentation.
- [Feature]: Add GNU-Screen and tmux indication at PS1 HOT 2
- Bash ur
- Besh
- [Bug]: bash-it preview is not working HOT 2
- [Bug]: After dev channel update getting source error HOT 4
- Want to learn bash?
- Why does installation add a interpreter directive (shebang) to bash_profile? HOT 1
- bash: warning: setlocale: LC_ALL: cannot change locale (en_uS.UTF-8): No such file or directory HOT 1
- [Bug]: install bash_it on PVE debian-12-genericcloud-amd64-20230612-1409.qcow2 HOT 1
- [Request]: do you need maintainers? HOT 2
- [Feature]: nvm: only show node version if folder has package.json
- [Bug]: .bash_it/lib/history.bash reuses HISTCONTROL for it's own incorrect purposes by default HOT 3
- [Bug]: Uninstall script shouldn't delete existing bashrc and mindlessly pull from old backup
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 bash-it.