https://github.com/myseq/dotfiles
Backup of my configs
https://github.com/myseq/dotfiles
Last synced: about 2 months ago
JSON representation
Backup of my configs
- Host: GitHub
- URL: https://github.com/myseq/dotfiles
- Owner: myseq
- Created: 2020-08-03T13:15:17.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-12-23T09:03:01.000Z (over 1 year ago)
- Last Synced: 2025-01-28T18:37:11.348Z (over 1 year ago)
- Language: Shell
- Size: 43 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DotFiles
This includes all my `dotfiles` setup/config.
For quick start, just:
- `git clone https://github.com/myseq/dotfiles.git`
- `git pull --rebase`
- `echo "source $HOME/dotfiles/shellstartup" >> .bashrc`
- `echo "source $HOME/dotfiles/shellstartup" >> .zshrc`
## Begin
And everything start from `shellstartup`.
> To update, simple `git pull --rebase`.
> It simply combining your local changes with the latest published changes on your remote.
Here's the basic file structure.
```bash
dotfiles/
├── bash.aliases # BASH: aliases
├── bash.func # BASH: functions
├── gitconfig # git config file
├── private.envs # Excluded by .gitignore
├── profiles/ # Folder: profile pictures
├── pythonstartup # Python startup file
├── shell.envs # All env exports
├── shellstartup # main startup file
├── utils/ # Folder: utilities/scripts
├── vimrc # vim config file
├── zsh.aliases # ZSH: aliases
├── zsh.func # ZSH: functions
└── zshrc # ZSH: zshrc
```
### BASH
Append the following line to the end `.bashrc`.
```bash
source $HOME/dotfiles/shellstartup
```
### ZSH
Install `zsh` first.
```console
$ sudo apt install zsh
$ touch .zshrc
```
Append the following line to the end `.zshrc`.
```bash
source $HOME/dotfiles/shellstartup
```
### Markdown Viewer (mdv)
```console
% sudo apt install python3-pip
% pip3 install mdv --break-system-packages
```
## Troubleshoot
To setup the `.gitconfig`: `ln -s dotfiles/gitconfig ~/.gitconfig`
To reset the Git repo remote-url from HTTPS to SSH: `git remote set-url origin git@github.com:myseq/dotfiles.git`