update to freebsd

This commit is contained in:
rf 2022-11-09 14:23:58 -06:00
parent 9312924fad
commit cafd345b0b
7 changed files with 17 additions and 53 deletions

View file

@ -1,9 +0,0 @@
#!/bin/bash
# Get the aliases and functions
[ -f $HOME/.bashrc ] && . $HOME/.bashrc
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
pulseaudio --start
startx
[[ -f "$HOME/.Xresources" ]] && xrdb -merge "$HOME/.Xresources"
fi

37
debian/home/.bashrc vendored
View file

@ -1,37 +0,0 @@
# .bashrc
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias ls='ls --color=auto'
alias vim='nvim'
alias vi='nvim'
GOPATH="$HOME/.go"
GEM_HOME="$HOME/.gems"
GEM_PATH="$HOME/.gems"
export GOPATH
export GEM_HOME
export GEM_PATH
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
[ -f /etc/profile.d/rvm.sh ] && source /etc/profile.d/rvm.sh
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
PATH="/home/rf/perl5/bin${PATH:+:${PATH}}"; export PATH;
PERL5LIB="/home/rf/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB;
PERL_LOCAL_LIB_ROOT="/home/rf/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT;
PERL_MB_OPT="--install_base \"/home/rf/perl5\""; export PERL_MB_OPT;
PERL_MM_OPT="INSTALL_BASE=/home/rf/perl5"; export PERL_MM_OPT;
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
export PATH="$PATH:$HOME/.rvm/bin"
# RVM likes the gem root path to be the first element in the path
PATH="$GEM_HOME/bin:/usr/local/bin/go:$GOPATH/bin:$PATH"
PS1='[\u@\h \W]\$ '
export PS1

View file

@ -1,7 +0,0 @@
#!/bin/sh
feh --bg-fill "$HOME/Pictures/Backgrounds/bg_ibm.jpg" &
xrandr --rate 144.00 &
picom &
dwmblocks &
xrdb -merge ~/.Xresources
dwm

View file

@ -0,0 +1,8 @@
#!/usr/local/bin/bash
if [[ -z "$DISPLAY" ]] && [[ $(tty) = "/dev/ttyv0" ]]; then
startx
fi
# opam configuration
test -r /usr/home/rf/.opam/opam-init/init.sh && . /usr/home/rf/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true

3
freebsd/home/.bashrc Normal file
View file

@ -0,0 +1,3 @@
#!/usr/local/bin/bash
eval $(opam env)

6
freebsd/home/.xinitrc Normal file
View file

@ -0,0 +1,6 @@
#!/bin/sh
xrandr --rate 144.00
xset +fp /usr/local/share/fonts/terminus-font/
xsetroot -solid "#ffffff"
cwm