https://github.com/hex0cter/dotfiles
https://github.com/hex0cter/dotfiles
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hex0cter/dotfiles
- Owner: hex0cter
- Created: 2021-01-07T18:23:14.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-08-02T06:47:25.000Z (almost 2 years ago)
- Last Synced: 2025-01-06T12:47:26.200Z (over 1 year ago)
- Language: Shell
- Size: 82 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dotfiles
This repository represents my dot files. It works on both Debian based Linux and MacOS. Feel free to use.
## What is included
* [tmux](https://github.com/tmux/tmux) with prefix `ctrl + q`
* [lf](https://github.com/gokcehan/lf)
* [pistol](https://github.com/doronbehar/pistol)
* [autojump](https://github.com/wting/autojump)
* [fzf](https://github.com/junegunn/fzf)
* [zsh](https://www.zsh.org/)
* [oh-my-zsh](https://ohmyz.sh/)
* [nvm](https://github.com/nvm-sh/nvm) with the latest nodejs
* [pyenv](https://github.com/pyenv/pyenv) with the latest python3
* other utilities, such as imgcat, yarn, trash, etc.
## Installation
You can install this repository using `wget`:
```bash
bash -c "$(wget https://raw.githubusercontent.com/hex0cter/dotfiles/master/.install.sh -O -)"
```
or using `curl`:
```bash
bash -c "$(curl -fsSL https://raw.githubusercontent.com/hex0cter/dotfiles/master/.install.sh)"
```
You might need to fill in your sudo password during software installation and changing shell.
## How to use
For file browsing, type `lf`.
For file searching, type `f`.
To enter a historical directory, type `c`.
To search a historical commmand, type `h`.
To start or attach to a tmux session, type `t`. Type `ctrl q |` to split the window vertically. Type `ctrl q -` to split the window horizontally.
`rm` will be aliased to `trash`.
## How to make a contribution?
First make an alias of git as
```bash
alias dot="git --git-dir=$HOME/.cfg/ --work-tree=$HOME"
dot remote set-url origin git@github.com:hex0cter/dotfiles.git # Or your own repository
dot ...
dot push
```
## References
* https://www.atlassian.com/git/tutorials/dotfiles
* https://www.youtube.com/watch?v=tBoLDpTWVOM