Git Product home page Git Product logo

dotfiles's Introduction

Christian's "Dotfiles"

Welcome

Hey, there!

I’m Christian, and I’m passionate about creating educational tech content for IT Pros and Homelab nerds.

This Repository Dotfiles contain my personal config files. Here you'll find configs, customizations, themes, and whatever I need to personalize my mac OS experience.

⚠️ Be aware, products can change over time. I do my best to keep up with the latest changes and releases, but please understand that this won’t always be the case.

I created them as free resources to be used in your specific use cases. If you're searching for detailed, in-depth tutorials on some tools or technologies, check out my YouTube Channel.

Terminal and Application Icons with Nerd-Fonts

To display icons in terminal or applications Fonts, I'm using Nerd-Fonts. I'm currently using the Hack Nerd Font Mono in terminal applications, and Hack Nerd Font in applications.

Contribution

If you’d like to contribute to this project, reach out to me on social media or Discord, or create a pull request for the necessary changes.

Other Resources

  • Boilerplates - Templates for various projects like Docker, K8S, Ansible, etc
  • Cheat-Sheets - Command Reference for various tools and technologies
  • Videos - Documentation and project files for all my video tutorials on YouTube
  • Homelab - This is my entire Homelab documentation, and configurations for infrastructure, applications, networking, and more.

Support me

Creating high-quality videos and valuable resources that are accessible to everyone, free of charge, is a huge challenge. With your contribution, I can dedicate more time and effort into the creation process, which ultimately enhances the quality of the content. So, all your support, by becoming a member, truly makes a significant impact on what I do. And you’ll also get some cool benefits and perks in return, as a recognition of your support.

Remember, supporting me is entirely optional. Your choice to become a member or not won't change your access to my videos and resources. You are also welcome to reach out to me on Discord, if you have any questions or feedback.

https://www.patreon.com/christianlempa

dotfiles's People

Contributors

akkesm avatar christianlempa avatar dmoayad avatar tonybostontb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dotfiles's Issues

Question about ssh and starship promt

I have a question about ssh and starship.
So i have customized my zsh shell with starship on my wsl2 linux . Now whenever i ssh to a server everything changes. I just get username@hostname: Is this normal? Do i need to customize every server? Or should starship just adjust the promt with the user and hostname of the server?

Not able to see virtual environment for python

Not able to see virtual environment for python getting activated with the current config of starship. I confess that i shamelessly copied your config for starship either because i was lazy and/or because i do not trust my customization skills, But there is no doubt i loved your terminal's look so i went ahead with it. Now obviously, since i have not explored starship documentation i was hoping if someone has already gone through this and fixed it.
After activating the venv for python there is no difference in the console.

Please help me if anyone knows what needs to be done.

[Edit]
Forgot to show screenshots of the current issue -

image

I tried adding the bellow configuration but that too didnt help
[python]
format = '[($virtualenv )]($style)'

zsh: command not found: exa ?

hello,
thank you for your time and for your awesome tutorial.
i tried your configuration and when i try to use the ls command, i got this error:
image

so in your opinion, how i can solve it?
should i install exa?

Proposal for Zsh

Hey 👋,

This is not an issue. I would like to propose a different Zsh configuration with https://z-shell.pages.dev. If you would like to try it I would prepare a configuration while keeping your current visual/functional state, but when required and additionally it would:

  • Allow the turbo mode that yields 50-80% faster Zsh startup.
  • Easy integration for plugins and libraries compatible with frameworks like Oh My Zsh or Prezto.
  • Create or use dedicated packages that offload the users from providing long and complex commands.
  • Create or use annexes (i.e extensions) — to extend the plugin manager with any new commands or functions.
  • Does not use $FPATH, loading multiple plugins don't clutter $FPATH with the same number of entries (e.g. 10, 15, or more). Code is immune to KSH_ARRAYS and other options typically causing compatibility problems.
  • NEVER require sudo, but provide many workarounds e.g: setting so-called shims locally.

For all mentioned above provides the reports and statistics about:

  • What aliases, functions, bindkeys, Zle widgets, zstyles, completions, variables, $PATH, and $FPATH elements a plugin has set up.
  • Allows to quickly familiarize oneself with a new plugin and provides rich and easy-to-digest information that might be helpful on various occasions.
  • Supports the unloading of plugins and the ability to list, (un)install, and selectively disable, enable plugin's completions.
  • Additional provides functionality to easily create your own plugins (locally/remote).

asciicast

.dotfiles/.zshrc, LFILE doesn't work

Hello @xcad2k ,

I am raising an issue because I am not sure if I am correct or not, otherwise, I would have raised a PR. Anyway, I got here after watching your youtube video about setting up WSL2 + Windows Terminal + Starship, so, first of all, thank you so much for all the content you put out there, is very useful.

I am trying to setup starship and I am "stealing" your own zsh and starship config to setup my WSL, however, the code in the .zshrc didn't work for me in two WSL distros, the section I am referring is :

# find out which distribution we are running on
LFILE="/etc/*-release"
MFILE="/System/Library/CoreServices/SystemVersion.plist"
if [[ -f $LFILE ]]; then
 _distro=$(awk '/^ID=/' /etc/*-release | awk -F'=' '{ print tolower($2) }')
elif [[ -f $MFILE ]]; then
 _distro="macos"
fi

Setting the LFILE like that for me wasn't working, mainly because .zshrc doesn't have any shebang just runs as regular sh so I was getting the variable LFILE populated literally with the value "/etc/*-release", it still worked, STARSHIP_DISTRO was still being set with the Linux icon but I really wanted the ubuntu

I changed the code to be like this, however, is a very hacky way:

# find out which distribution we are running on
LFILE=$(ls -1 /etc/*-release | head -1)
MFILE="/System/Library/CoreServices/SystemVersion.plist"
if [[ -f $LFILE ]]; then
  _distro=$(awk '/^ID=/' /etc/*-release | awk -F'=' '{ print tolower($2) }')
  echo "I am here LFILE"
elif [[ -f $MFILE ]]; then
  _distro="macos"
  echo "I am here MFILE"
fi

Anyway thank you so much for sharing this with all of us.

Older MacOS .bashrc/starship issue (with fix)

It's probably not mission-critical to you, but I noticed an error on your .bashrc file. You'd probably only notice it on an older Mac as most newer ones default to Zsh as their shell.

Comparing it to your .zsh/.zshrc file shows what's wrong:

.bashrc

➜ cat .bashrc
# find out which distribution we are running on
LFILE="/etc/*-release"
MFILE="/System/Library/CoreServices/SystemVersion.plist"
_distro=$(awk '/^ID=/' /etc/*-release | awk -F'=' '{ print tolower($2) }')

.zshrc

➜ cat .zshrc
# find out which distribution we are running on
LFILE="/etc/*-release"
MFILE="/System/Library/CoreServices/SystemVersion.plist"
if [[ -f $LFILE ]]; then
  _distro=$(awk '/^ID=/' /etc/*-release | awk -F'=' '{ print tolower($2) }')
elif [[ -f $MFILE ]]; then
  _distro="macos"
fi

I can attest that the code in your .zshrc file works just fine in .bashrc, though I'm sure you already knew that.

where tf is your json theme?

in your yt video you said,
its on your github, in the dotfiles/windows/windowsTerminal/settings.json,
but where tf is this?
ty

starship.toml not formatted with utf-8 powershell error

Not entirely an issue on your side, but maybe a note for future people trying to use this. I was getting an error when using the file on windows terminal(powershell) as it seems it needs to be formatted as ntf-8. I simply opened it up in sublime and saved with encoding as ntf-8. Hopefully helps someone else in the future.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.