mirror of
https://github.com/kremalicious/dotfiles.git
synced 2024-11-21 17:27:13 +01:00
aliases in extra file, remove some osx stuff
This commit is contained in:
parent
0c5a680bf2
commit
e5a370ffaa
22
aliases
Normal file
22
aliases
Normal file
@ -0,0 +1,22 @@
|
||||
# ----------------------------------------------------------------------
|
||||
# ALIASES
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
alias ll='ls -la'
|
||||
|
||||
# Get into some servers FAST. Server, user & port are in .ssh/config
|
||||
alias krlc='ssh kremalicious'
|
||||
alias mlublogs='ssh mlublogs'
|
||||
|
||||
# Terminal needs more Espresso
|
||||
alias esp="open -a Espresso"
|
||||
|
||||
# Update All The Things
|
||||
alias update='sudo softwareupdate -i -a; sudo gem update --system; sudo gem update; brew update; brew upgrade; npm update -g'
|
||||
|
||||
# Recursively delete `.DS_Store` files
|
||||
alias cleanup="find . -type f -name '*.DS_Store' -ls -delete"
|
||||
|
||||
# Show/hide hidden files in Finder
|
||||
alias show="defaults write com.apple.Finder AppleShowAllFiles -bool true && killall Finder"
|
||||
alias hide="defaults write com.apple.Finder AppleShowAllFiles -bool false && killall Finder"
|
22
bash_profile
22
bash_profile
@ -12,7 +12,7 @@
|
||||
# Load ~/.private, ~/.bash_prompt
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
for file in ~/.{private,bash_prompt}; do
|
||||
for file in ~/.{bash_prompt,aliases,private}; do
|
||||
[ -r "$file" ] && source "$file"
|
||||
done
|
||||
unset file
|
||||
@ -21,6 +21,13 @@ unset file
|
||||
# SHELL OPTIONS
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
# Append to the Bash history file, rather than overwriting it
|
||||
shopt -s histappend
|
||||
|
||||
# Prefer US English and use UTF-8
|
||||
export LC_ALL="en_US.UTF-8"
|
||||
export LANG="en_US"
|
||||
|
||||
# fuck that you have new mail shit
|
||||
unset MAILCHECK
|
||||
|
||||
@ -40,19 +47,6 @@ ANDROID_HOME="/usr/local/Cellar/android-sdk/r20"
|
||||
|
||||
export PATH
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# ALIASES
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
alias ll='ls -la'
|
||||
# Get into some servers FAST. Server, user & port are in .ssh/config
|
||||
alias krlc='ssh kremalicious'
|
||||
alias mlublogs='ssh mlublogs'
|
||||
# Terminal needs more Espresso
|
||||
alias esp="open -a Espresso"
|
||||
# Get OS X Software Updates, update Homebrew itself, and upgrade installed Homebrew packages
|
||||
alias update='sudo softwareupdate -i -a; sudo gem update --system; sudo gem update; brew update; brew upgrade; npm update -g'
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# LSCOLORS
|
||||
# ----------------------------------------------------------------------
|
||||
|
2
make.sh
2
make.sh
@ -14,7 +14,7 @@
|
||||
# dotfiles directory
|
||||
dir=~/.dotfiles
|
||||
# list of files/folders to symlink in homedir
|
||||
files="bashrc bash_profile bash_prompt gitconfig gitignore_global hushlogin private"
|
||||
files="aliases bashrc bash_profile bash_prompt gitconfig gitignore_global hushlogin private"
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# change to the dotfiles directory
|
||||
|
11
osx
11
osx
@ -27,15 +27,6 @@ defaults write NSGlobalDomain NSDisableAutomaticTermination -bool true
|
||||
# Disable auto-correct
|
||||
defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool false
|
||||
|
||||
###############################################################################
|
||||
# Screen #
|
||||
###############################################################################
|
||||
|
||||
# Save screenshots to the desktop
|
||||
defaults write com.apple.screencapture location -string "$HOME/Desktop"
|
||||
|
||||
# Save screenshots in PNG format (other options: BMP, GIF, JPG, PDF, TIFF)
|
||||
defaults write com.apple.screencapture type -string "png"
|
||||
|
||||
###############################################################################
|
||||
# Finder #
|
||||
@ -73,7 +64,7 @@ defaults write com.apple.finder WarnOnEmptyTrash -bool false
|
||||
chflags nohidden ~/Library
|
||||
|
||||
###############################################################################
|
||||
# Dock & hot corners #
|
||||
# Dock #
|
||||
###############################################################################
|
||||
|
||||
# Show indicator lights for open applications in the Dock
|
||||
|
@ -14,7 +14,7 @@
|
||||
# dotfiles directory
|
||||
dir=~/.dotfiles
|
||||
# list of files/folders to symlink in homedir
|
||||
files="bashrc bash_profile bash_prompt gitconfig gitignore_global hushlogin private"
|
||||
files="aliases bashrc bash_profile bash_prompt gitconfig gitignore_global hushlogin private"
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# change to the dotfiles directory
|
||||
|
Loading…
Reference in New Issue
Block a user