dot

packages and services management
Log | Files | Refs | README

commit 62e49cc4e3e900ea42813935b43f9dbf201d0bc4
parent c4277320f68fcf1336cd3ca38c34dc3c107cfca2
Author: Josuah Demangeon <mail@josuah.net>
Date:   Sun,  4 Nov 2018 14:57:24 +0100

dot: no more *shrc

Diffstat:
Mconf-bin | 7+++++--
Ddot/bash_profile | 3---
Ddot/bashrc | 3---
Ddot/mkshrc | 10----------
4 files changed, 5 insertions(+), 18 deletions(-)

diff --git a/conf-bin b/conf-bin @@ -1,4 +1,7 @@ -#!/bin/sh -ex +#!/bin/sh -e +cd "$(dirname "$0")/bin" mkdir -p "$HOME/.local/bin" -cp "$(dirname "$0")/bin/"*"/"* "$HOME/.local/bin" +for f in */*; do + ln -sf "$PWD/$f" "$HOME/.local/bin/${f#*/}" +done diff --git a/dot/bash_profile b/dot/bash_profile @@ -1,3 +0,0 @@ -. "$HOME/.profile" - -PS1='\[\033[1m\]\h\[\033[$(test $? = 0 && echo 32 || echo 31)m\]\$\[\033[m\] ' diff --git a/dot/bashrc b/dot/bashrc @@ -1,3 +0,0 @@ -. "$HOME/.profile" - -PS1='\[\033[1m\]\h\[\033[$(test $? = 0 && echo 32 || echo 31)m\]\$\[\033[m\] ' diff --git a/dot/mkshrc b/dot/mkshrc @@ -1,10 +0,0 @@ -. "$HOME/.profile" - -PS1='$( - test $? = 0 && color=32 || color=31 - test "$(whoami)" = root && user=# || user="$" - printf "\\033[1m%s\\033[%sm%s\\033[m " \ - "$(uname -n)" \ - "$color" \ - "$user" -)'