latest updates and additions

This commit is contained in:
Noah Masur 2020-11-10 18:14:36 -05:00
parent 5e6182a20b
commit 4871138e0a
8 changed files with 25 additions and 15 deletions

3
bin/biggest-files Executable file
View File

@ -0,0 +1,3 @@
#!/usr/local/bin/nu
ls **/* | where type == File | sort-by size | reverse | keep 10

View File

@ -16,8 +16,7 @@ function aliases --description 'All aliases'
abbr -a gc 'git commit -m' abbr -a gc 'git commit -m'
abbr -a gu 'git pull' abbr -a gu 'git pull'
abbr -a gp 'git push' abbr -a gp 'git push'
abbr -a gh 'hub' abbr -a ghb 'gh repo view -w'
abbr -a ghb 'hub browse'
# Vim # Vim
abbr -a v 'vim' abbr -a v 'vim'

View File

@ -11,7 +11,7 @@ function notes --description "Notes functions"
set yesterday (date -jv "-1d" +"%Y-%m-%d_%a") set yesterday (date -jv "-1d" +"%Y-%m-%d_%a")
set tomorrow (date -jv "+1d" +"%Y-%m-%d_%a") set tomorrow (date -jv "+1d" +"%Y-%m-%d_%a")
set weather (curl -s "https://wttr.in/?format=1") set weather (curl -s "https://wttr.in/?format=1")
printf "[[$yesterday|Previous]] - [[calendar|Index]] - [[$tomorrow|Next]]\n\n---\n\n$weather\n\n# Tasks\n\n\n# Log\n\n\n# Communication\n\n---\n\n# Meetings\n\n" > $today_journal printf "[[$yesterday|Previous]] - [[calendar|Index]] - [[$tomorrow|Next]]\n\n---\n\n$weather\n\n# Tasks\n\n![[🎯 Active Tasks]]\n# Log\n\n\n# Communication\n\n---\n\n# Meetings\n\n" > $today_journal
echo "New journal added." echo "New journal added."
end end
end end
@ -26,7 +26,7 @@ function notes --description "Notes functions"
set yesterday (date -jv "-1d" +"%Y-%m-%d_%a") set yesterday (date -jv "-1d" +"%Y-%m-%d_%a")
set tomorrow (date -jv "+1d" +"%Y-%m-%d_%a") set tomorrow (date -jv "+1d" +"%Y-%m-%d_%a")
set weather (curl -s "https://wttr.in/?format=1") set weather (curl -s "https://wttr.in/?format=1")
printf "[[$yesterday|Previous]] - [[calendar|Index]] - [[$tomorrow|Next]]\n\n---\n\n$weather\n\n# Tasks\n\n\n# Log\n\n\n# Communication\n\n---\n\n# Meetings\n\n" > $today_journal printf "[[$yesterday|Previous]] - [[calendar|Index]] - [[$tomorrow|Next]]\n\n---\n\n$weather\n\n# Tasks\n\n![[🎯 Active Tasks]]\n# Log\n\n\n# Communication\n\n---\n\n# Meetings\n\n" > $today_journal
echo "New journal added." echo "New journal added."
vim $today_journal vim $today_journal
end end

View File

@ -33,7 +33,7 @@ brew "gpg" # Encryption
brew "qrencode" # Make a QR code brew "qrencode" # Make a QR code
brew "youtube-dl" # Download YouTube videos brew "youtube-dl" # Download YouTube videos
brew "googler" # Search Google brew "googler" # Search Google
brew "hub" # GitHub commands brew "gh" # GitHub commands
# Personal # Personal
tap "nmasur/repo" # My repo tap "nmasur/repo" # My repo
@ -46,6 +46,7 @@ brew "cjbassi/ytop/ytop"
brew "haskell-stack" # Latest version of Haskell brew "haskell-stack" # Latest version of Haskell
brew "noti" # Create system notifications brew "noti" # Create system notifications
brew "kakoune" # Modal editor brew "kakoune" # Modal editor
brew "b2-tools" # BackBlaze B2 storage
# Not Installed # Not Installed
# pulumi # pulumi

View File

@ -36,6 +36,9 @@ cask "steam" # Games
cask "vlc" # Video player cask "vlc" # Video player
cask "calibre" # Ebook manager cask "calibre" # Ebook manager
cask "jira-client"
cask "wkhtmltopdf"
# Don't bother # Don't bother
# cask "skype" # cask "skype"
# cask "dash" # cask "dash"

View File

@ -104,7 +104,7 @@ install_gitmux() {
then then
printf "gitmux ✕\n\n" printf "gitmux ✕\n\n"
printf "\ninstalling gitmux..." printf "\ninstalling gitmux..."
/bin/bash -c "$(curl -L -o gitmux.tar.gz https://github.com/arl/gitmux/releases/download/v0.6.0/gitmux_0.6.0_macOS_amd64.tar.gz)" /bin/bash -c "$(curl -L -o gitmux.tar.gz https://github.com/arl/gitmux/releases/download/v0.7.4/gitmux_0.7.4_macOS_amd64.tar.gz)"
tar -xzf gitmux.tar.gz gitmux tar -xzf gitmux.tar.gz gitmux
mkdir -p ~/.local/bin mkdir -p ~/.local/bin
mv gitmux ~/.local/bin/ mv gitmux ~/.local/bin/

View File

@ -1,10 +1,11 @@
# Don't print a new line at the start of the prompt # Don't print a new line at the start of the prompt
add_newline = false add_newline = false
prompt_order = ["directory", "custom.virtualenv", "character"] format = """\
$directory\
$character\
"""
# Replace the "" symbol in the prompt with "➜" [character]
[character] # The name of the module we are configuring is "character"
# symbol = "➜" # The "symbol" segment is being set to "➜"
symbol = "" symbol = ""
[directory] [directory]
@ -16,14 +17,17 @@ truncation_length = 1
truncation_symbol = "" truncation_symbol = ""
[git_status] [git_status]
prefix = "" format = '([\[$all_status$ahead_behind\]]($style) )'
suffix = "" # prefix = ""
# suffix = ""
[python] [python]
symbol = "" symbol = ""
format = '[\($virtualenv\)]($style)'
[custom.virtualenv] [custom.virtualenv]
command = "echo (basename $VIRTUAL_ENV)" # shows output of command command = "echo (basename $VIRTUAL_ENV)" # shows output of command
prefix = "(" format = "[$output]($style) "
suffix = ") "
when = "true" when = "true"
# prefix = "("
# suffix = ") "

View File

@ -12,7 +12,7 @@ tmux:
clean: '' clean: ''
styles: styles:
state: '#[fg=red,bold]' state: '#[fg=red,bold]'
branch: '#[fg=bold]' branch: '#[fg=colour241,bold]'
remote: '#[fg=colour239]' remote: '#[fg=colour239]'
staged: '#[fg=colour241,bold]' staged: '#[fg=colour241,bold]'
conflict: '#[fg=red,bold]' conflict: '#[fg=red,bold]'