Moving from ArchMac to Nix

This commit is contained in:
Loic Nageleisen 2020-03-24 15:59:46 +01:00
parent d6a7376d07
commit 2cd00b16f2
4 changed files with 6 additions and 11 deletions

View file

@ -1,9 +1,6 @@
# default bash autocompletion
#/etc/bash_completion
#/usr/local/share/bash-completion/bash_completion
bash_completion_file="/opt/arch/share/bash-completion/bash_completion"
bash_completion_file="$HOME/.nix-profile/share/bash-completion/bash_completion"
if [[ $BASH_VERSION != 3.* && -f "$bash_completion_file" ]]; then
source "$bash_completion_file"
fi
# vim: ft=sh
# vim: ft=bash

View file

@ -1,2 +0,0 @@
export PATH="/opt/arch/bin:/opt/arch/sbin:$PATH"
#export MANPATH="/opt/arch/share/man:/usr/local/share/man:/usr/share/man:/opt/X11/share/man:/Library/Developer/CommandLineTools/usr/share/man"

View file

@ -1,5 +1,5 @@
if [[ -f /opt/arch/share/chruby/chruby.sh ]]; then
source /opt/arch/share/chruby/chruby.sh
if [[ -f $HOME/.nix-profile/share/chruby/chruby.sh ]]; then
source $HOME/.nix-profile/share/chruby/chruby.sh
fi
_ruby-version() {

View file

@ -1,5 +1,5 @@
# archmac completions
fpath=(/opt/arch/share/zsh/site-functions $fpath)
# nix completions
fpath=($HOME/.nix-profile/share/zsh/site-functions $fpath)
# Use modern completion system
autoload -Uz compinit