Last active
May 20, 2022 14:23
-
-
Save marzvrover/05b0f4783593951a5f49174092c61b28 to your computer and use it in GitHub Desktop.
My current shell environment files
This file contains hidden or 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
This gist contains my shell environment files: | |
.zshrc | |
.zshenv | |
.aliases |
This file contains hidden or 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
alias please="php please" | |
alias artisan="php artisan" | |
alias tinker="artisan tinker" | |
alias migrate="artisan migrate" | |
# alias watch="npm run watch" | |
alias share="sudo valet unsecure && valet share && sudo valet secure" | |
alias prettyjson="ruby -e \"require 'json'; puts JSON.pretty_generate(JSON.parse(ARGF.read))\"" | |
alias swift-on-linux="docker run --rm --privileged --interactive --tty --volume \"\$(pwd):/src\" --workdir \"/src\" swift:latest" | |
alias fls="ls -hltAFGr" # fancy-ls | |
alias update="sudo port selfupdate && brew update" | |
alias upgrade="sudo port upgrade outdated && brew upgrade" |
This file contains hidden or 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
### START PATH ### | |
# USER SCRIPTS | |
PATH=~/.scripts/bin:$PATH | |
# ADD-ON SOFTWARE (/opt) | |
PATH=/opt/bin:$PATH | |
# ADD-ON SOFTWARE (/opt/local) | |
# MACPORTS | |
PATH=/opt/local/bin:$PATH | |
# HOMEBREW | |
PATH=/usr/local/sbin:$PATH | |
# PIP3 | |
PATH=~/Library/Python/3.9/bin:$PATH | |
# COMPOSER | |
PATH=~/.composer/vendor/bin:$PATH | |
# NPM | |
PATH=/usr/local/Cellar/node/15.0.1/bin:$PATH | |
# RUBY | |
PATH=/usr/local/opt/ruby/bin:$PATH | |
# NIMBLE FOR NIM | |
PATH=~/.nimble/bin:$PATH | |
### END PATH ### | |
### START ALAISES ### | |
source $HOME/.aliases | |
### END ALASISES ### |
This file contains hidden or 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
# Powerlevel10k repo: romkatv/powerlevel10k | |
# To install Powerlevel10k with brew run `brew install romkatv/powerlevel10k/powerlevel10k` | |
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. | |
# Initialization code that may require console input (password prompts, [y/n] | |
# confirmations, etc.) must go above this block; everything else may go below. | |
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then | |
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" | |
fi | |
source ~/powerlevel10k/powerlevel10k.zsh-theme | |
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. | |
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh | |
# RUBY | |
eval "$(rbenv init -)" | |
# GPG | |
export GPG_TTY=$(tty) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment