mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 08:45:39 +00:00
latest updates and additions
This commit is contained in:
parent
5e6182a20b
commit
4871138e0a
3
bin/biggest-files
Executable file
3
bin/biggest-files
Executable file
@ -0,0 +1,3 @@
|
||||
#!/usr/local/bin/nu
|
||||
|
||||
ls **/* | where type == File | sort-by size | reverse | keep 10
|
@ -16,8 +16,7 @@ function aliases --description 'All aliases'
|
||||
abbr -a gc 'git commit -m'
|
||||
abbr -a gu 'git pull'
|
||||
abbr -a gp 'git push'
|
||||
abbr -a gh 'hub'
|
||||
abbr -a ghb 'hub browse'
|
||||
abbr -a ghb 'gh repo view -w'
|
||||
|
||||
# Vim
|
||||
abbr -a v 'vim'
|
||||
|
@ -11,7 +11,7 @@ function notes --description "Notes functions"
|
||||
set yesterday (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")
|
||||
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."
|
||||
end
|
||||
end
|
||||
@ -26,7 +26,7 @@ function notes --description "Notes functions"
|
||||
set yesterday (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")
|
||||
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."
|
||||
vim $today_journal
|
||||
end
|
||||
|
@ -33,7 +33,7 @@ brew "gpg" # Encryption
|
||||
brew "qrencode" # Make a QR code
|
||||
brew "youtube-dl" # Download YouTube videos
|
||||
brew "googler" # Search Google
|
||||
brew "hub" # GitHub commands
|
||||
brew "gh" # GitHub commands
|
||||
|
||||
# Personal
|
||||
tap "nmasur/repo" # My repo
|
||||
@ -46,6 +46,7 @@ brew "cjbassi/ytop/ytop"
|
||||
brew "haskell-stack" # Latest version of Haskell
|
||||
brew "noti" # Create system notifications
|
||||
brew "kakoune" # Modal editor
|
||||
brew "b2-tools" # BackBlaze B2 storage
|
||||
|
||||
# Not Installed
|
||||
# pulumi
|
||||
|
@ -36,6 +36,9 @@ cask "steam" # Games
|
||||
cask "vlc" # Video player
|
||||
cask "calibre" # Ebook manager
|
||||
|
||||
cask "jira-client"
|
||||
cask "wkhtmltopdf"
|
||||
|
||||
# Don't bother
|
||||
# cask "skype"
|
||||
# cask "dash"
|
||||
|
@ -104,7 +104,7 @@ install_gitmux() {
|
||||
then
|
||||
printf "gitmux ✕\n\n"
|
||||
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
|
||||
mkdir -p ~/.local/bin
|
||||
mv gitmux ~/.local/bin/
|
||||
|
@ -1,10 +1,11 @@
|
||||
# Don't print a new line at the start of the prompt
|
||||
add_newline = false
|
||||
prompt_order = ["directory", "custom.virtualenv", "character"]
|
||||
format = """\
|
||||
$directory\
|
||||
$character\
|
||||
"""
|
||||
|
||||
# Replace the "❯" symbol in the prompt with "➜"
|
||||
[character] # The name of the module we are configuring is "character"
|
||||
# symbol = "➜" # The "symbol" segment is being set to "➜"
|
||||
[character]
|
||||
symbol = "❯"
|
||||
|
||||
[directory]
|
||||
@ -16,14 +17,17 @@ truncation_length = 1
|
||||
truncation_symbol = ""
|
||||
|
||||
[git_status]
|
||||
prefix = ""
|
||||
suffix = ""
|
||||
format = '([\[$all_status$ahead_behind\]]($style) )'
|
||||
# prefix = ""
|
||||
# suffix = ""
|
||||
|
||||
[python]
|
||||
symbol = ""
|
||||
format = '[\($virtualenv\)]($style)'
|
||||
|
||||
[custom.virtualenv]
|
||||
command = "echo (basename $VIRTUAL_ENV)" # shows output of command
|
||||
prefix = "("
|
||||
suffix = ") "
|
||||
format = "[$output]($style) "
|
||||
when = "true"
|
||||
# prefix = "("
|
||||
# suffix = ") "
|
||||
|
@ -12,7 +12,7 @@ tmux:
|
||||
clean: ''
|
||||
styles:
|
||||
state: '#[fg=red,bold]'
|
||||
branch: '#[fg=bold]'
|
||||
branch: '#[fg=colour241,bold]'
|
||||
remote: '#[fg=colour239]'
|
||||
staged: '#[fg=colour241,bold]'
|
||||
conflict: '#[fg=red,bold]'
|
||||
|
Loading…
Reference in New Issue
Block a user