mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2026-02-07 18:22:47 +01:00
added starship prompt
This commit is contained in:
parent
a6dbb351ef
commit
ca61775d84
6 changed files with 139 additions and 7 deletions
|
|
@ -241,7 +241,7 @@ $env.config = {
|
|||
use_ansi_coloring: true
|
||||
bracketed_paste: true # enable bracketed paste, currently useless on windows
|
||||
edit_mode: vi # emacs, vi
|
||||
shell_integration: false # enables terminal shell integration. Off by default, as some terminals have issues with this.
|
||||
shell_integration: true # enables terminal shell integration. Off by default, as some terminals have issues with this.
|
||||
render_right_prompt_on_last_line: false # true or false to enable or disable right prompt to be rendered on last line of the prompt.
|
||||
|
||||
hooks: {
|
||||
|
|
@ -801,8 +801,18 @@ def start_zellij [] {
|
|||
|
||||
start_zellij
|
||||
|
||||
def nsp [
|
||||
program: string
|
||||
] {
|
||||
nix shell $"nixpkgs#$program"
|
||||
}
|
||||
|
||||
def lcr [
|
||||
file_extension: string
|
||||
] {
|
||||
ls **/*.$file_extension | each {|file| open $file.name | lines --skip-empty | length} | math sum
|
||||
}
|
||||
|
||||
alias gnix = cd ~/nix-configs;
|
||||
alias grepo = cd ~/Documents/repos;
|
||||
alias wh = wormhole-rs;
|
||||
alias nix-shell = nix-shell --run 'nu -li';
|
||||
alias nsp = nix-shell --run 'nu -li' -p;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue