Skip to content

kettes-leulhetsz/prompt_rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a Rust rewrite of fish_prompt.

Usage

  • compile & install:
cargo build --release --target=x86_64-unknown-linux-musl

cp target/x86_64-unknown-linux-musl/release/prompt_rs $SOMEWHERE/bin/
  • use as your prompt:
# ~/.config/fish/functions/fish_prompt.fish

function fish_prompt --description "Write out the prompt"
	# fish doesn't export these
	prompt_rs $status $CMD_DURATION
end

About

🦀

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages