mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 16:41:43 +05:30
- TMUX: Switched back to ctrl+b as leader
- VIM: Configurations better commented - NVIM: NVChad, LazyNvim, Old-Config removed - NVIM: Restarted and reconfigured from kickstart.nvim [WIP] - Dotfiles on $HOME removed from 160+ to 25. Most of them moved to $XDG_* directories - Shell: Added back p10k config - Shell: Autoremove brew left over applications - Kitty: Added bashrc & profiles for ssh kitten - Kitty: Custom tab-titles
This commit is contained in:
@@ -1,17 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Directories and Directory listings
|
||||
dir_size(){
|
||||
local dir
|
||||
if [[ -z "$1" ]]; then
|
||||
dir="${PWD}"
|
||||
else
|
||||
dir="$1"
|
||||
fi
|
||||
dir_size() {
|
||||
local dir
|
||||
if [[ -z "$1" ]]; then
|
||||
dir="${PWD}"
|
||||
else
|
||||
dir="$1"
|
||||
fi
|
||||
|
||||
du -ah "${dir}" -d 1 | sort -hr
|
||||
du -ah "${dir}" -d 1 | sort -hr
|
||||
}
|
||||
|
||||
|
||||
# Update & Upgrades
|
||||
alias up="brew upgrade --cask && brew upgrade --formula && rustup update && npm update -g"
|
||||
alias up="brew upgrade --cask && brew upgrade --formula && brew autoremove && rustup update && npm update -g"
|
||||
|
||||
Reference in New Issue
Block a user