From 4721cebf34d7862b0783673f65fbb8b52750be46 Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 8 May 2018 01:46:53 -0400 Subject: initial commit. --- common/etc/hosts | 0 common/etc/init.sh | 23 +++++++++++++++++++++++ common/etc/nanorc | 1 + common/etc/passwd | 2 ++ common/etc/resolv.conf | 2 ++ common/home/midipix/.bashrc | 2 ++ common/home/midipix/.inputrc | 1 + 7 files changed, 31 insertions(+) create mode 100644 common/etc/hosts create mode 100755 common/etc/init.sh create mode 100644 common/etc/nanorc create mode 100644 common/etc/passwd create mode 100644 common/etc/resolv.conf create mode 100644 common/home/midipix/.bashrc create mode 100644 common/home/midipix/.inputrc (limited to 'common') diff --git a/common/etc/hosts b/common/etc/hosts new file mode 100644 index 0000000..e69de29 diff --git a/common/etc/init.sh b/common/etc/init.sh new file mode 100755 index 0000000..8bcce7f --- /dev/null +++ b/common/etc/init.sh @@ -0,0 +1,23 @@ +#!/bin/sh + +cd / + +export PATH=/local/sbin:/local/bin:/sbin:/bin +export HOME=/home/`whoami` + +if [ "$TERM" = xterm ]; then + export PS1='\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ ' +else + export PS1='\n\w \$ ' +fi + +if [ -x /bin/dircolors ]; then + alias ls='ls --color=auto' + alias grep='grep --color=auto' + alias fgrep='fgrep --color=auto' + alias egrep='egrep --color=auto' +fi + +alias ll='ls -alF' +alias la='ls -A' +alias l='ls -CF' diff --git a/common/etc/nanorc b/common/etc/nanorc new file mode 100644 index 0000000..bf654dd --- /dev/null +++ b/common/etc/nanorc @@ -0,0 +1 @@ +include /share/nano/*.nanorc diff --git a/common/etc/passwd b/common/etc/passwd new file mode 100644 index 0000000..6ea10fa --- /dev/null +++ b/common/etc/passwd @@ -0,0 +1,2 @@ +root:x:0:0:root:/root:/bin/bash +midipix:x:1000:1000::/home/midipix:/bin/bash diff --git a/common/etc/resolv.conf b/common/etc/resolv.conf new file mode 100644 index 0000000..af9304d --- /dev/null +++ b/common/etc/resolv.conf @@ -0,0 +1,2 @@ +nameserver 208.67.222.222 +nameserver 208.67.220.220 diff --git a/common/home/midipix/.bashrc b/common/home/midipix/.bashrc new file mode 100644 index 0000000..54406e9 --- /dev/null +++ b/common/home/midipix/.bashrc @@ -0,0 +1,2 @@ +# proceed only in interactive mode +[[ "$-" != *i* ]] && return diff --git a/common/home/midipix/.inputrc b/common/home/midipix/.inputrc new file mode 100644 index 0000000..236bfdd --- /dev/null +++ b/common/home/midipix/.inputrc @@ -0,0 +1 @@ +set completion-ignore-case on -- cgit v1.2.3