replace Atuin with McFly
This commit is contained in:
		
							parent
							
								
									1e4caa105b
								
							
						
					
					
						commit
						000038ab06
					
				
					 3 changed files with 7 additions and 32 deletions
				
			
		| 
						 | 
				
			
			@ -143,8 +143,9 @@ if [ -d "$HOME/.bashrc.d/" ]; then
 | 
			
		|||
    done
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
# replace fzf history (CTRL-R) by https://atuin.sh
 | 
			
		||||
if hash atuin 2>/dev/null; then
 | 
			
		||||
  eval "$(atuin init bash)"
 | 
			
		||||
# replace fzf history (CTRL-R) by https://github.com/cantino/mcfly
 | 
			
		||||
if hash mcfly 2>/dev/null; then
 | 
			
		||||
  eval "$(mcfly init bash)"
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,29 +0,0 @@
 | 
			
		|||
## where to store your database, default is your system data directory
 | 
			
		||||
## mac: ~/Library/Application Support/com.elliehuxtable.atuin/history.db
 | 
			
		||||
## linux: ~/.local/share/atuin/history.db
 | 
			
		||||
# db_path = "~/.history.db"
 | 
			
		||||
 | 
			
		||||
## where to store your encryption key, default is your system data directory
 | 
			
		||||
# key_path = "~/.key"
 | 
			
		||||
 | 
			
		||||
## where to store your auth session token, default is your system data directory
 | 
			
		||||
# session_path = "~/.key"
 | 
			
		||||
 | 
			
		||||
## date format used, either "us" or "uk"
 | 
			
		||||
# dialect = "uk" 								
 | 
			
		||||
 | 
			
		||||
## enable or disable automatic sync
 | 
			
		||||
# auto_sync = true
 | 
			
		||||
 | 
			
		||||
## how often to sync history. note that this is only triggered when a command 
 | 
			
		||||
## is ran, so sync intervals may well be longer
 | 
			
		||||
## set it to 0 to sync after every command
 | 
			
		||||
# sync_frequency = "5m"
 | 
			
		||||
 | 
			
		||||
## address of the sync server
 | 
			
		||||
# sync_address = "https://api.atuin.sh"
 | 
			
		||||
 | 
			
		||||
## which search mode to use
 | 
			
		||||
## possible values: prefix, fulltext, fuzzy
 | 
			
		||||
# search_mode = "prefix"
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -16,3 +16,6 @@ disabled = true
 | 
			
		|||
 | 
			
		||||
[java]
 | 
			
		||||
disabled = true
 | 
			
		||||
 | 
			
		||||
[jobs]
 | 
			
		||||
disabled = true
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue