Add .aliases
Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
parent
7dc8aee385
commit
ee5c1e6ff6
6 changed files with 20 additions and 12 deletions
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Author: Severin Kaderli <severin.kaderli@gmail.com>
|
||||
#
|
||||
# Usage: ./install.sh
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
|
@ -11,6 +10,7 @@ ln -s "$DIR/.gitconfig" "$HOME/.gitconfig"
|
|||
# Setting up various configuration files
|
||||
ln -s "$DIR/.bash_profile" "$HOME/.bash_profile"
|
||||
ln -s "$DIR/.bashrc" "$HOME/.bashrc"
|
||||
ln -s "$DIR/.aliases" "$HOME/.aliases"
|
||||
ln -s "$DIR/.profile" "$HOME/.bashrc"
|
||||
ln -s "$DIR/.xinitrc" "$HOME/.xinitrc"
|
||||
ln -s "$DIR/.Xresources" "$HOME/.Xresources"
|
||||
|
@ -21,5 +21,11 @@ ln -s "$DIR/.dircolors" "$HOME/.dircolors"
|
|||
ln -s "$DIR/bin" "$HOME/bin"
|
||||
chmod +x "$HOME/bin/*"
|
||||
|
||||
# Download and install composer
|
||||
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
|
||||
php composer-setup.php
|
||||
php -r "unlink('composer-setup.php');"
|
||||
mv "$DIR/composer.phar" "$HOME/bin/composer"
|
||||
|
||||
# Activate crontab file
|
||||
crontab -u $USER "$DIR/.crontab"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue