From: Edward Delaporte Date: Fri, 15 Jul 2022 22:48:46 +0000 (-0500) Subject: Various config tweaks. X-Git-Url: https://apps.delaporte.us/gitweb/dotfiles.git/commitdiff_plain/86761e4aa546bc5ac66e993b5bde34e8e3abc7db Various config tweaks. --- diff --git a/bashrc b/bashrc index 75f0905..1b1c9ca 100644 --- a/bashrc +++ b/bashrc @@ -116,8 +116,8 @@ if ! shopt -oq posix; then fi fi -# alias pyenv='CC="$(brew --prefix gcc)/bin/gcc-11" pyenv' # Fix for Python before 3.9 -alias pyenv='LDFLAGS=-lffi pyenv' # Fix for Python before 3.9 +alias pyenv='CC="$(brew --prefix gcc)/bin/gcc-11" pyenv' +# alias pyenv='LDFLAGS=-lffi pyenv' eval "$(oh-my-posh --init --shell bash --config ~/oh-my-posh.omp.json)" diff --git a/profile b/profile new file mode 100644 index 0000000..2b611ca --- /dev/null +++ b/profile @@ -0,0 +1,32 @@ +# ~/.profile: executed by the command interpreter for login shells. +# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login +# exists. +# see /usr/share/doc/bash/examples/startup-files for examples. +# the files are located in the bash-doc package. + + +# Brew +eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" + +# if running bash +if [ -n "$BASH_VERSION" ]; then + # include .bashrc if it exists + if [ -f "$HOME/.bashrc" ]; then + . "$HOME/.bashrc" + fi +fi + +# set PATH so it includes user's private bin if it exists +if [ -d "$HOME/bin" ] ; then + PATH="$HOME/bin:$PATH" +fi + +# set PATH so it includes user's private bin if it exists +if [ -d "$HOME/.local/bin" ] ; then + PATH="$HOME/.local/bin:$PATH" +fi + + +# PyEnv +# export PYENV_ROOT="/home/linuxbrew/.linuxbrew" +eval "$(pyenv init --path)" diff --git a/vimrc b/vimrc index 09fa0d2..246dbb2 100644 --- a/vimrc +++ b/vimrc @@ -84,6 +84,7 @@ au BufNewFile,BufRead *.go set noet ts=2 sw=2 sts=2 au BufNewFile,BufFilePre,BufRead *.md set filetype=markdown colorscheme elflord +set bg=dark set number set backupdir=c:\temp,.backup/,~/.backup/,/tmp// diff --git a/wtfutil.example.yml b/wtfutil.example.yml new file mode 100644 index 0000000..e0dc3d6 --- /dev/null +++ b/wtfutil.example.yml @@ -0,0 +1,42 @@ +wtf: + colors: + border: + focusable: darkslateblue + focused: orange + normal: gray + grid: + columns: [32, 32, 32, 32, 90] + rows: [10, 10, 10, 4, 4, 90] + refreshInterval: 1 + mods: + github: + apiKey: "" + baseURL: "" + customQueries: + othersPRs: + title: "Others Pull Requests" + filter: "is:open is:pr draft:false -author:edthedev" + enabled: true + enableStatus: true + position: + top: 0 + left: 0 + height: 2 + width: 2 + refreshInterval: 5m + repositories: + - 'uillinois-community/uillinois-community.github.io' + uploadURL: "" + username: "" + agenda: + title: "Agenda" + cmd: "agenda" + args: ["-path", "/Journal/{YYYY}/{MM}-{DD}.md"] + enabled: true + position: + top: 0 + left: 2 + width: 2 + height: 2 + refreshInterval: 60 + type: cmdrunner