Compare commits
No commits in common. "6ae1e27c0ea51cc4a29b03ef0af3df143389df9c" and "c7616c3ee4430a20c91ee6f3edbc20e01adf53c4" have entirely different histories.
6ae1e27c0e
...
c7616c3ee4
@ -1,32 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
usage(){
|
|
||||||
echo "Usage: project-init <type>"
|
|
||||||
echo "type git: VCS project"
|
|
||||||
echo "type src: Simple coding project"
|
|
||||||
echo "type doc: Assignment"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
if [ $# != 1 ]; then
|
|
||||||
usage
|
|
||||||
fi
|
|
||||||
|
|
||||||
type=$1
|
|
||||||
|
|
||||||
if [ "$type" = "git" ]; then
|
|
||||||
git init
|
|
||||||
touch README.org
|
|
||||||
cp ~/Documents/IT/gpl-3.0.md LICENSE.md
|
|
||||||
cp ~/Documents/IT/shell.nix .
|
|
||||||
mkdir src tests data
|
|
||||||
git add ./*
|
|
||||||
git commit -m "Initial commit"
|
|
||||||
lorri init
|
|
||||||
direnv allow
|
|
||||||
elif [ "$type" = "doc" ]; then
|
|
||||||
mkdir docs docs/assets
|
|
||||||
touch docs/Summary.org
|
|
||||||
else
|
|
||||||
usage
|
|
||||||
fi
|
|
11
scripts/.local/share/scripts/vcs-init
Executable file
11
scripts/.local/share/scripts/vcs-init
Executable file
@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
git init
|
||||||
|
touch README.org
|
||||||
|
cp ~/Documents/IT/gpl-3.0.md LICENSE.md
|
||||||
|
cp ~/Documents/IT/shell.nix .
|
||||||
|
mkdir src tests data
|
||||||
|
git add ./*
|
||||||
|
git commit -m "Initial commit"
|
||||||
|
lorri init
|
||||||
|
direnv allow
|
@ -4,8 +4,7 @@ set selection-clipboard clipboard
|
|||||||
set recolor-lightcolor "#161821"
|
set recolor-lightcolor "#161821"
|
||||||
set recolor-darkcolor "#c6c8d1"
|
set recolor-darkcolor "#c6c8d1"
|
||||||
set recolor true
|
set recolor true
|
||||||
set recolor-keephue true
|
#set smooth-scroll true
|
||||||
set smooth-scroll true
|
|
||||||
set window-title-basename true
|
set window-title-basename true
|
||||||
set completion-bg "#161821"
|
set completion-bg "#161821"
|
||||||
set statusbar-bg "#161821"
|
set statusbar-bg "#161821"
|
||||||
|
Loading…
Reference in New Issue
Block a user