Comments (15)
It works now after deleting the bash_history file. You are creating a new screen itself. is there any way, we can do half-screen alone just like fzf ? What are the intelligence I get from mcfly ? any inputs or documentation link ? Just to understand as beginner.
from mcfly.
Hey @sivaswami, that's a new one. Are you just installing McFly for the first time?
from mcfly.
yes. for first time.
from mcfly.
could you try deleting the ~/.mcfly
directoy and see if it happens again?
from mcfly.
• • • rm -rf ~/.mcfly ; source mcfly.bash
McFly: Importing Bash history for the first time. This may take a minute or two...thread 'main' panicked at 'McFly error: Insert to
work: NulError(NulError(0, [0, 108, 115]))', src/libcore/result.rs:999:5
note: run with RUST_BACKTRACE=1
environment variable to display a backtrace.
from mcfly.
• • • rm -rf ~/.mcfly ; export RUST_BACKTRACE=1 ; source mcfly.bash
McFly: Importing Bash history for the first time. This may take a minute or two...thread 'main' panicked at 'McFly error: Insert to
work: NulError(NulError(0, [0, 108, 115]))', src/libcore/result.rs:999:5
stack backtrace:
0:
1:
2:
3:
4:
5:
6:
7:
8: main
9: __libc_start_main
10:
from mcfly.
Thank you @sivaswami. I suspect there's something in your existing history file that's causing an import error. I wish I knew what it was. I suspect that if you move .bash_history to a new name temporarily, then remove ~/.mcfly
, it will work.
from mcfly.
I use timestamp with my history. is this could be a problem? content of history file looks like this:
#1529475153
ls
#1529475159
cd test
my settings in bashrc :
export HISTIGNORE='&:ssh*:*bin/se:. bin/se:*history:mutt:[bf]g:exit:pwd:
hostname:*cd ..:bash:zsh:*echo:cs:h:pushd:popd'
export HISTTIMEFORMAT='%F %T '
from mcfly.
does mcfly handles HISTTIMEFORMAT and other History related env parameter settings ?
some more options include:
export HISTTIMEFORMAT=”%a %h %d – %r ”
export HISTTIMEFORMAT=”%A %B %d – %r ”
from mcfly.
in some env, I also change $HISTFILE to point to different file.
from mcfly.
Ah! We do support timestamps, but currently only in the default epoch format. I suspect if you unset HISTTIMEFORMAT
it'd work.
from mcfly.
Hey @sivaswami, glad it's working! The current UI is full screen. If you'd want to work on a half-screen view, you'd be welcome to. I find the current experience meets my needs well.
from mcfly.
If there are 'bad lines' in ~/.bash_history
/etc, can they be ignored?
from mcfly.
They should be, @Tatsh. What are you seeing?
from mcfly.
I had a different error that was caused by using su without a new login shell (su -
). This caused an issue with a temporary file mcfly writes to, because environment variables were inherited.
from mcfly.
Related Issues (20)
- Draft releases messed up HOT 4
- zsh-vi-mode conflict
- Allow <TAB> to cycle through options instead of select HOT 3
- Allow ENTER to select the command and put it on commandline
- Handle multiple commands separated by "\n" in Fish shell HOT 2
- F3 key does not work with 'vim' key scheme HOT 1
- Powershell support documentation HOT 1
- F3 breaks standard terminal's line limit HOT 3
- Request for Dynamic Fuzz Search Toggle Within Search Interface HOT 1
- Vulnerabilities mio and zerocopy dependency HOT 1
- Panic in `src/fake_typer.rs` - broken edit and run commands HOT 8
- Bug in mcfly.fish HOT 5
- Installing mcfly on Ubuntu 24.04 doesn't bind CTRL+R and "mcfly search" throws error HOT 16
- Add an X86_64 build for linux HOT 2
- Windows binaries missing HOT 3
- init shell failed? HOT 5
- question: how do I show more results? HOT 2
- Question:how the Neural Network help mcfly for better performance? HOT 3
- Dirty environment after uninstalling HOT 4
- Consider releasing as a .deb package HOT 2
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 mcfly.