Compare commits
No commits in common. "c1c0a2e6c9a47ef3bf10936b7e0eaa29fb299d36" and "a0f578a204d3f9e9673cff14a771214932ebf4fc" have entirely different histories.
c1c0a2e6c9
...
a0f578a204
|
@ -871,11 +871,6 @@ def slideshow [delay: int = 10] {
|
||||||
feh --full-screen --randomize --auto-zoom --recursive --slideshow-delay $delay
|
feh --full-screen --randomize --auto-zoom --recursive --slideshow-delay $delay
|
||||||
}
|
}
|
||||||
|
|
||||||
#look up something on cheat.sh
|
|
||||||
def cheat [query: string] {
|
|
||||||
curl $"cheat.sh/($query)"
|
|
||||||
}
|
|
||||||
|
|
||||||
# parses git log into a nushell table.
|
# parses git log into a nushell table.
|
||||||
def --wrapped git-log [...rest] {
|
def --wrapped git-log [...rest] {
|
||||||
git log --pretty=%h»¦«%H»¦«%s»¦«%aN»¦«%aE»¦«%aD ...$rest | lines | split column "»¦«" commit full-commit subject name email date | upsert date {|d| $d.date | into datetime}
|
git log --pretty=%h»¦«%H»¦«%s»¦«%aN»¦«%aE»¦«%aD ...$rest | lines | split column "»¦«" commit full-commit subject name email date | upsert date {|d| $d.date | into datetime}
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
format = """
|
format = """
|
||||||
[](color_orange)\
|
[](color_orange)\
|
||||||
$shell\
|
|
||||||
$hostname\
|
$hostname\
|
||||||
[@](bg:color_orange)\
|
[@](bg:color_orange)\
|
||||||
$username\
|
$username\
|
||||||
|
@ -17,7 +16,7 @@ $git_metrics\
|
||||||
[](fg:color_blue bg:color_bg3)\
|
[](fg:color_blue bg:color_bg3)\
|
||||||
$git_commit\
|
$git_commit\
|
||||||
$fill\
|
$fill\
|
||||||
[](fg:color_bg1 bg:color_bg3)\
|
[](fg:color_bg3 bg:color_bg1)\
|
||||||
$time\
|
$time\
|
||||||
[ ](fg:color_bg1)\
|
[ ](fg:color_bg1)\
|
||||||
$line_break$character"""
|
$line_break$character"""
|
||||||
|
@ -43,15 +42,6 @@ ssh_only = false
|
||||||
format = "[$ssh_symbol$hostname]($style)"
|
format = "[$ssh_symbol$hostname]($style)"
|
||||||
style = "bg:color_orange"
|
style = "bg:color_orange"
|
||||||
|
|
||||||
[shell]
|
|
||||||
disabled = false
|
|
||||||
bash_indicator = '$'
|
|
||||||
fish_indicator = '<><'
|
|
||||||
zsh_indicator = '%'
|
|
||||||
nu_indicator = '>'
|
|
||||||
format = '[$indicator ]($style)'
|
|
||||||
style = "bg:color_orange"
|
|
||||||
|
|
||||||
[fill]
|
[fill]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
style = "bg:color_bg3"
|
style = "bg:color_bg3"
|
||||||
|
|
Loading…
Reference in a new issue