diff --git a/.config/nushell/history.txt b/.config/nushell/history.txt index 142c38bf..1ddb4d7a 100644 --- a/.config/nushell/history.txt +++ b/.config/nushell/history.txt @@ -71,3 +71,29 @@ do {|x:int| 100 + $x } 77 let hello = {|s:str| printf 'Hello, %s!' $s } let hello = {|s:string| printf 'Hello, %s!' $s } do $hello friend +commandline (history | each ) +commandline (history | each { |it| $it.command } | uniq | reverse | fzf --height 20 ) +history | each { |it| $it.command } | uniq | reverse | fzf --height 20 +clear +$env.config.keybindings ++= [{<\n> name: fuzzy_history<\n> modifier: control<\n> keycode: char_h<\n> mode: [emacs, vi_normal, vi_insert]<\n> event: {<\n> send: executehostcommand<\n> cmd: "commandline (history | each { |it| $it.command } | uniq | reverse | fzf --height 20)"<\n> }<\n>}] +ls +cd dev/zona +clear +ls +ls --tree +clear +ls +ls | sort-by size | reverse +ls | where size > 10kb +ls | where size > 1kb +clear +ps +^ps aux +clear +ps +ps | where status == Running +ps | describe +http get https://api.github.com/repos/nushell/nushell/contributors +let form = (http get https://api.github.com/repos/nushell/nushell/contributors) +$form +$form | select login contributions