Without brace expansion:

mv src/io/github/crgk/til/posts/IPost.java src/io/github/crgk/til/posts/Post.java

But because zsh continues to be awesome:

mv src/io/github/crgk/til/posts/{IPost,Post}.java

SOURCE: stackexchange