Drop OSX support; support desktop, laptop, cloudtop
Dropping support for OSX. Moving forward these dotfiles will depend on Linux
systems. Furthermore, since I'm support a ~/bin, the machines that consume these
dotfiles depend on i386 architectures. Linux and i386 are two dependencies that
I'm okay with since the leverage this assumption provides, makes their existence
tolerable.
There is some Google leakage herein, which includes aliases, functions, and
mentions of cloudtop. For now, this is okay. I may break the Google specific
code into its own repository, but for now, this is less maintenance.
This also introduces a ~/.profile instead of erroneously defining environment
variables in my zshrc file, which was unadvised.
This is a large commit and also introduces new aliases, variables, functions
that I accumulated over the past week or so while migrating away from OSX and
onto my new setup. Hopefully in the future I'll be more precise with my commits.
2019-03-18 15:14:26 +01:00
|
|
|
# Some programs read from ~/.profile for values. It's best to set environment
|
|
|
|
# variables here instead of in ~/.zshrc or similar files, which are sourced
|
|
|
|
# everytime a new shell is created. The ~/.profile, on the other hand, is
|
|
|
|
# typically sourced only once at login.
|
|
|
|
|
|
|
|
PATH="$PATH:$HOME/bin"
|
|
|
|
|
|
|
|
# Application preferences
|
|
|
|
export BROWSER=google-chrome
|
|
|
|
export TERMINAL=st
|
|
|
|
export EDITOR=emacsclient
|
|
|
|
export ALTERNATE_EDITOR=nvim
|
|
|
|
|
|
|
|
# Application configuration
|
|
|
|
export FZF_DEFAULT_COMMAND='fd --hidden --follow --exclude ".git"'
|
|
|
|
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
|
|
|
|
|
|
|
|
export DOTFILES="$HOME/Dropbox/dotfiles"
|
|
|
|
export ORG_DIRECTORY="$HOME/Dropbox/org"
|
|
|
|
|
2019-05-13 17:35:38 +02:00
|
|
|
# Prevent compton from fading to the lock screen. This also prevents the white
|
|
|
|
# overlay that compton was causing to appear. Still unsure why that was
|
|
|
|
# happening.
|
|
|
|
# For more information, see the following GitHub issue:
|
|
|
|
# https://github.com/google/xsecurelock/issues/28
|
|
|
|
export XSECURELOCK_NO_COMPOSITE=1
|
|
|
|
|
2019-03-20 16:18:06 +01:00
|
|
|
# This fixes nixpkgs that rely on glibc-2.27, which allegedly breaks locale
|
|
|
|
# issues.
|
|
|
|
# See this thread for more details: https://github.com/NixOS/nixpkgs/issues/8398
|
|
|
|
export LOCALE_ARCHIVE=$(readlink ~/.nix-profile/lib/locale)/locale-archive
|
|
|
|
|
Drop OSX support; support desktop, laptop, cloudtop
Dropping support for OSX. Moving forward these dotfiles will depend on Linux
systems. Furthermore, since I'm support a ~/bin, the machines that consume these
dotfiles depend on i386 architectures. Linux and i386 are two dependencies that
I'm okay with since the leverage this assumption provides, makes their existence
tolerable.
There is some Google leakage herein, which includes aliases, functions, and
mentions of cloudtop. For now, this is okay. I may break the Google specific
code into its own repository, but for now, this is less maintenance.
This also introduces a ~/.profile instead of erroneously defining environment
variables in my zshrc file, which was unadvised.
This is a large commit and also introduces new aliases, variables, functions
that I accumulated over the past week or so while migrating away from OSX and
onto my new setup. Hopefully in the future I'll be more precise with my commits.
2019-03-18 15:14:26 +01:00
|
|
|
# Set environment variables for Nix
|
|
|
|
source ~/.nix-profile/etc/profile.d/nix.sh
|