All Projects → ellie → atuin

ellie / atuin

Licence: MIT License
🐢 Magical shell history

Programming Languages

rust
11053 projects
shell
77523 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to atuin

Hstr
bash and zsh shell history suggest box - easily view, navigate, search and manage your command history.
Stars: ✭ 2,909 (+124.63%)
Mutual labels:  zsh, history
History Search Multi Word
Multi-word, syntax highlighted history searching for Zsh
Stars: ✭ 314 (-75.75%)
Mutual labels:  zsh, history
Resh
Rich Enhanced Shell History - Contextual shell history for zsh and bash
Stars: ✭ 310 (-76.06%)
Mutual labels:  zsh, history
Zsh History To Fish
Bring your ZSH history to Fish shell.
Stars: ✭ 23 (-98.22%)
Mutual labels:  zsh, history
Hstr Rs
hstr, but with paging
Stars: ✭ 122 (-90.58%)
Mutual labels:  zsh, history
Bashhub Client
☁️ Bash history in the cloud. Indexed and searchable.
Stars: ✭ 858 (-33.75%)
Mutual labels:  zsh, history
Zsh Histdb
A slightly better history for zsh
Stars: ✭ 801 (-38.15%)
Mutual labels:  zsh, history
Bashhub Server
Private cloud shell history. Open source server for bashhub https://github.com/rcaloras/bashhub-client
Stars: ✭ 189 (-85.41%)
Mutual labels:  zsh, history
hstdb
Better history management for zsh. Based on ideas from https://github.com/larkery/zsh-histdb.
Stars: ✭ 25 (-98.07%)
Mutual labels:  zsh, history
lovelace-plotly-graph-card
Highly customisable Lovelace card to display interactive graphs. Brings scrolling, zooming, and much more!
Stars: ✭ 38 (-97.07%)
Mutual labels:  history
dotfiles
nullxception's desktop and other configurations
Stars: ✭ 16 (-98.76%)
Mutual labels:  zsh
q
q - vim like macro registers for your bash and zsh shell!
Stars: ✭ 54 (-95.83%)
Mutual labels:  zsh
nord-mintty
An arctic, north-bluish clean and elegant Mintty color theme.
Stars: ✭ 40 (-96.91%)
Mutual labels:  zsh
awesome-digital-history
Find primary sources online and learn how to research history digitally.
Stars: ✭ 110 (-91.51%)
Mutual labels:  history
react-native-search-api
The SearchApi module gives you a general React Native interface to interact with the iOS Search API, Core Spotlight.
Stars: ✭ 35 (-97.3%)
Mutual labels:  history
apollo-zsh-theme
Heavily customizable, compatible, and fast ZSH theme framework.
Stars: ✭ 64 (-95.06%)
Mutual labels:  zsh
dotfiles
Your dotfiles are how you personalize your system. These are mine.
Stars: ✭ 12 (-99.07%)
Mutual labels:  zsh
svelte-previous
A Svelte store that remembers previous values
Stars: ✭ 46 (-96.45%)
Mutual labels:  history
dotfiles
Dotfiles & Developer Environment. Supports Ubuntu2004+, macOS Catalina+, Windows 10 w WSL
Stars: ✭ 30 (-97.68%)
Mutual labels:  zsh
Alpharized
Super simple oh-my-zsh theme optimized to work with solarized dark
Stars: ✭ 12 (-99.07%)
Mutual labels:  zsh

Atuin

magical shell history

animated

exit code, duration, time and command shown

Atuin replaces your existing shell history with a SQLite database, and records additional context for your commands. Additionally, it provides optional and fully encrypted synchronisation of your history between machines, via an Atuin server.

As well as the search UI, it can do things like this:

# search for all successful `make` commands, recorded after 3pm yesterday
atuin search --exit 0 --after "yesterday 3pm" make

You may use either the server I host, or host your own! Or just don't use sync at all. As all history sync is encrypted, I couldn't access your data even if I wanted to. And I really don't want to.

Features

  • rebind up and ctrl-r with a full screen history search UI
  • store shell history in a sqlite database
  • backup and sync encrypted shell history
  • the same history across terminals, across sessions, and across machines
  • log exit code, cwd, hostname, session, command duration, etc
  • calculate statistics such as "most used command"
  • old history file is not replaced
  • quick-jump to previous items with Alt-<num>

Documentation

Supported Shells

  • zsh
  • bash
  • fish

Quickstart

With the default sync server

This will sign you up for the default sync server, hosted by me. Everything is end-to-end encrypted, so your secrets are safe!

Read more below for offline-only usage, or for hosting your own server.

bash <(curl https://raw.githubusercontent.com/ellie/atuin/main/install.sh)

atuin register -u <USERNAME> -e <EMAIL> -p <PASSWORD>
atuin import auto
atuin sync

Offline only (no sync)

bash <(curl https://raw.githubusercontent.com/ellie/atuin/main/install.sh)
            
atuin import auto

Install

Script (recommended)

The install script will help you through the setup, ensuring your shell is properly configured. It will also use one of the below methods, preferring the system package manager where possible (pacman, homebrew, etc etc).

# do not run this as root, root will be asked for if required
bash <(curl https://raw.githubusercontent.com/ellie/atuin/main/install.sh)

With cargo

It's best to use rustup to get setup with a Rust toolchain, then you can run:

cargo install atuin

Homebrew

brew install atuin

Pacman

Atuin is available in the Arch Linux community repository:

pacman -S atuin

From source

git clone https://github.com/ellie/atuin.git
cd atuin
cargo install --path .

Shell plugin

Once the binary is installed, the shell plugin requires installing. If you use the install script, this should all be done for you!

zsh

echo 'eval "$(atuin init zsh)"' >> ~/.zshrc

Or using a plugin manager:

zinit load ellie/atuin

bash

We need to setup some hooks, so first install bash-preexec:

curl https://raw.githubusercontent.com/rcaloras/bash-preexec/master/bash-preexec.sh -o ~/.bash-preexec.sh
echo '[[ -f ~/.bash-preexec.sh ]] && source ~/.bash-preexec.sh' >> ~/.bashrc

Then setup Atuin

echo 'eval "$(atuin init bash)"' >> ~/.bashrc

fish

Add

atuin init fish | source

to your is-interactive block in your ~/.config/fish/config.fish file

...what's with the name?

Atuin is named after "The Great A'Tuin", a giant turtle from Terry Pratchett's Discworld series of books.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].