This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# file location: ${HOME}/Brewfile | |
# This file is used along with the `brew bundle` command to ensure that required packages and apps are installed. | |
# Also can be used to ensure that any package/apps that were installed as experimentation are uninstalled from the system. | |
# For a more detailed explanation of the philosophy/reasoning behind this file, please see https://openfolder.sh/macos-migrations-with-brewfile | |
# If you are starting such a file on a machine where you have already installed some apps using brew, then use `brew bundle dump` to create this file and avoid starting from scratch | |
# alias bcg='brew outdated --greedy' # List all casks that are outdated like a "dry-run" (and which have version marked as 'latest') | |
# alias bcug='brew upgrade --greedy' # Upgrades all casks that are outdated (and which have version marked as 'latest') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
# This script can be used to setup a macos machine based on Vijay's configurations. As of now, this script is idempotent and will restore your local setup to the same state if run multiple times. | |
# If you have the same files already present, it will prompt you whether to override or not | |
# file location: <anywhere> (just need to invoke it from that location) | |
# You can run this script using this command: | |
# curl -L https://gist.githubusercontent.com/vraravam/04fc2296b25090ea848642afbce4d168/raw -o fresh-install.sh; chmod +x ./fresh-install.sh; ./fresh-install.sh | |
# BEFORE STARTING TO RUN THIS SCRIPT (for the first time on a new machine) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
# vim:syntax=zsh | |
# vim:filetype=zsh | |
# file location: ${HOME}/.zshrc.custom | |
# Note: This file depends on the ${HOME}/.zshrc that is also shared for some shell functions | |
load_file_if_exists "${HOME}/.aliases" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# file location: ~/.gitconfig-template.inc | |
[user] | |
name = <your-name> | |
email = <your-email> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# file location: ~/.gitconfig | |
# Note: | |
# [Windows users] If you are on windows, please search for the word 'windows' - and fix those lines - they seem to cause some trouble | |
# [General] Since some of the settings are specific to my setup (ie presence of fles), I have marked those lines with comments 'Personal' - you can go ahead and change those to your equivalents or delete them altogether | |
# [General] Since I use 'diff-so-fancy' as the diffing tool, it's absence on your system will cause some errors. If you are able to, I would sincerely urge you to install and use it for a much better experience. If not, please replace all such occurrences back to use 'diff' | |
# Note: Even though this will show up twice in `git config -l` - it will still be overridden based on the order of the includeIf lines below | |
[includeIf "gitdir/i:~/"] # Personal | |
path = ~/.gitconfig-oss.inc # Personal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# file location: ${HOME}/.gitignore | |
!.bundle/config | |
!.keep | |
.~lock*# | |
.babel.json | |
.boxfuse/ | |
.bundle/cache | |
.cisco/vpn/log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Generated by Powerlevel10k configuration wizard on 2024-03-24 at 07:22 IST. | |
# Based on romkatv/powerlevel10k/config/p10k-rainbow.zsh, checksum 4117. | |
# Wizard options: nerdfont-v3 + powerline, small icons, rainbow, unicode, 12h time, | |
# angled separators, sharp heads, flat tails, 1 line, compact, many icons, concise, | |
# fluent, instant_prompt=quiet. | |
# Type `p10k configure` to generate another config. | |
# | |
# Config for Powerlevel10k with powerline prompt style with colorful background. | |
# Type `p10k configure` to generate your own config based on it. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
# vim:syntax=zsh | |
# vim:filetype=zsh | |
# file location: ${HOME}/.aliases | |
# Add flags to existing aliases. | |
alias less="${aliases[less]:-less} -RF" | |
alias ls="${aliases[ls]:-ls} -G" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
# vim:syntax=zsh | |
# vim:filetype=zsh | |
# file location: ${HOME}/.zshrc | |
# Optimizing zsh: https://htr3n.github.io/2018/07/faster-zsh/ | |
# for profiling zsh, see: https://unix.stackexchange.com/a/329719/27109 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
# vim:syntax=zsh | |
# vim:filetype=zsh | |
# file location: ${HOME}/.zprofile | |
# Note: This file is loaded BEFORE ${HOME}/.zshrc | |
# login shell - only env vars and other functions that don't load anything should go in here | |
# This is a companion script for the `${HOME}/.zshrc` file |
NewerOlder