mirror of
https://github.com/lloeki/dotfiles.git
synced 2025-12-06 07:24:39 +01:00
Moving from ArchMac to Nix
This commit is contained in:
parent
d6a7376d07
commit
2cd00b16f2
4 changed files with 6 additions and 11 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
@ -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() {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue