Skip to content

Commit

Permalink
Revert "[update]add separate"
Browse files Browse the repository at this point in the history
This reverts commit 495c6b6.
  • Loading branch information
kenkenpa198 committed Mar 8, 2024
1 parent 495c6b6 commit c6f5095
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions setup/ubuntu/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,6 @@ function backup_origin_files {
cp ~/.bashrc ~/.bashrc.org
}

# 区切りを出力
# [シェル内でセパレータを引く #Zsh - Qiita](https://qiita.com/Linda_pp/items/674b8582772747ede9c3)
function separate {
for i in $(seq 1 $COLUMNS); do
echo -n '/'
done
}

# 完了メッセージを表示
function print_finished {
set +x
Expand All @@ -82,37 +74,27 @@ function print_finished {
function main {
# XDG Base Directory Specification
export_xdg
separate

# git clone dotfiles
clone_dotfiles
separate

# ディレクトリを作成
make_dir
separate

# 初期ファイルをバックアップ
backup_origin_files
separate

# アプリケーションのインストール
bash "${HOME}/dotfiles/setup/ubuntu/install-git.sh"
separate
bash "${HOME}/dotfiles/setup/ubuntu/install-apt-packages.sh"
separate
bash "${HOME}/dotfiles/setup/ubuntu/install-sheldon.sh"
separate
bash "${HOME}/dotfiles/setup/ubuntu/install-my-scripts.sh"
separate

# シンボリックリンクを作成
bash "${HOME}/dotfiles/setup/ubuntu/link.sh"
separate

# zsh をデフォルトシェルへ設定
sudo chsh "$USER" -s "$(which zsh)"
separate

# 完了メッセージを出力
print_finished
Expand Down

0 comments on commit c6f5095

Please sign in to comment.